walter преди 11 месеца
родител
ревизия
42180588ff
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 4 2
      src/view/system/about.vue

+ 4 - 2
src/view/system/about.vue

@@ -33,9 +33,11 @@ Vue.use(Cell).use(CellGroup).use(Notify)
 export default {
   name: 'about',
   data () {
+    let verTag = process.env.NODE_ENV === 'development' ? 'beta' : '';
     return {
+      verTag : verTag,
       info: {},
-      app_ver: '8.0',
+      app_ver: '8.0' + verTag,
     }
   },
   created () {
@@ -43,7 +45,7 @@ export default {
     let self = this
     if (window.plus) {
       plus.runtime.getProperty(plus.runtime.appid, function (inf) {
-        self.app_ver = inf.version
+        self.app_ver = inf.version + self.verTag
       })
     }
   },