给菜单弹窗的点击逻辑兼容https
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user