|
@@ -125,6 +125,7 @@
|
|
|
`${this.formData.protocal}${this.formData.hostname}:${this.formData.port}/web`
|
|
`${this.formData.protocal}${this.formData.hostname}:${this.formData.port}/web`
|
|
|
Vue.prototype.apiUrl =
|
|
Vue.prototype.apiUrl =
|
|
|
`${this.formData.protocal}${this.formData.hostname}:${this.formData.port}/api`
|
|
`${this.formData.protocal}${this.formData.hostname}:${this.formData.port}/api`
|
|
|
|
|
+ Vue.prototype.webviewUrl = `${this.formData.protocal}${this.formData.hostname}:${this.formData.port}`
|
|
|
|
|
|
|
|
uni.setStorageSync('apiInfo', this.formData)
|
|
uni.setStorageSync('apiInfo', this.formData)
|
|
|
this.$emit('setServerStatus', true)
|
|
this.$emit('setServerStatus', true)
|