|
@@ -162,3 +162,11 @@ new Vue({
|
|
}).$mount('#app');
|
|
}).$mount('#app');
|
|
Vue.prototype.$http = http;
|
|
Vue.prototype.$http = http;
|
|
Vue.prototype.$api = apiService(http);
|
|
Vue.prototype.$api = apiService(http);
|
|
|
|
+
|
|
|
|
+const VUE_APP_VERSION = require('../package.json').version
|
|
|
|
+const vers = window.localStorage.getItem("SC_Version");
|
|
|
|
+if (VUE_APP_VERSION != vers) {
|
|
|
|
+ localStorage.clear()
|
|
|
|
+ window.localStorage.setItem("SC_Version", VUE_APP_VERSION);
|
|
|
|
+ location.reload()
|
|
|
|
+}
|