|
|
@@ -15,7 +15,7 @@
|
|
|
apiAdress
|
|
|
}}</text>
|
|
|
</u-cell>
|
|
|
- <!-- <u-cell :title="'当前版本 ' + currentVersion" :isLink="true" arrow-direction="right">
|
|
|
+ <!-- <u-cell :title="'当前版本 ' + currentVersion" :isLink="true" arrow-direction="right">
|
|
|
<text slot="value" class="u-slot-value" @click="handlUpdate">{{
|
|
|
Nversion == currentVersion ? '' : `发现新版本(${this.Nversion})`
|
|
|
}}</text>
|
|
|
@@ -69,8 +69,8 @@
|
|
|
this.apiAdress =
|
|
|
apiInfo.hostname &&
|
|
|
`${apiInfo.protocal || ''}${apiInfo.hostname || ''}:${apiInfo.port || ''}`
|
|
|
-
|
|
|
- console.log(plus);
|
|
|
+
|
|
|
+
|
|
|
|
|
|
this.currentVersion = plus?.runtime.version
|
|
|
// this.getbb()
|
|
|
@@ -157,8 +157,8 @@
|
|
|
if (res.success) {
|
|
|
const currentVersion = this.currentVersion
|
|
|
const Nversion = res.data.version
|
|
|
-
|
|
|
- console.log(currentVersion,Nversion);
|
|
|
+
|
|
|
+ console.log(currentVersion, Nversion);
|
|
|
this.VersionInfo = res.data
|
|
|
if (currentVersion !== Nversion) {
|
|
|
this.$refs.updatePop.open()
|