给菜单弹窗的点击逻辑兼容https

This commit is contained in:
jishenghua
2025-10-16 21:13:33 +08:00
parent 69d351e119
commit ab7eb0a96c

View File

@@ -166,7 +166,7 @@ export default {
} }
const on = { const on = {
select: obj => { select: obj => {
if(obj.key.indexOf('http://')>-1) { if(obj.key.indexOf('http://')>-1 || obj.key.indexOf('https://')>-1) {
window.open(obj.key) window.open(obj.key)
} else { } else {
this.selectedKeys = obj.selectedKeys this.selectedKeys = obj.selectedKeys