代码优化
This commit is contained in:
parent
e7bb808d5b
commit
741f63014c
|
|
@ -13,11 +13,12 @@ export default {
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
const origin = window.location.origin
|
const origin = window.location.origin
|
||||||
if (origin == 'http://192.168.0.56:21626') {
|
|
||||||
this.jumpUrl = origin
|
this.jumpUrl = origin
|
||||||
} else {
|
// if (origin == 'http://192.168.0.56:21626') {
|
||||||
this.jumpUrl = 'http://192.168.0.14:18866'
|
// this.jumpUrl = origin
|
||||||
}
|
// } else {
|
||||||
|
// this.jumpUrl = 'http://192.168.0.14:18866'
|
||||||
|
// }
|
||||||
this.openNewWindow()
|
this.openNewWindow()
|
||||||
this.$tab.closePage().then(() => {})
|
this.$tab.closePage().then(() => {})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Reference in New Issue