代码优化

This commit is contained in:
BianLzhaoMin 2024-08-16 10:10:20 +08:00
parent e7bb808d5b
commit 741f63014c
1 changed files with 6 additions and 5 deletions

View File

@ -13,11 +13,12 @@ export default {
},
created() {
const origin = window.location.origin
if (origin == 'http://192.168.0.56:21626') {
this.jumpUrl = origin
} else {
this.jumpUrl = 'http://192.168.0.14:18866'
}
this.jumpUrl = origin
// if (origin == 'http://192.168.0.56:21626') {
// this.jumpUrl = origin
// } else {
// this.jumpUrl = 'http://192.168.0.14:18866'
// }
this.openNewWindow()
this.$tab.closePage().then(() => {})
},