Commit e41ba264 authored by zhangyanni's avatar zhangyanni

版本号

parent f1c17695
NODE_ENV="production"
VUE_APP_URL="prod"
API_ROOT="/"
VUE_APP_UPDATED="9.0.02"
VUE_APP_UPDATED="9.0.03"
VUE_APP_UPLOAD_IMG="/base/upload/uploadPicture"
VUE_APP_UPLOAD_FILE="/base/upload/uploadFile"
VUE_APP_UPLOAD_LOGO="/base/upload/uploadLogo"
NODE_ENV="production"
VUE_APP_URL="dev"
API_ROOT="/"
VUE_APP_UPDATED="9.0.02"
VUE_APP_UPDATED="9.0.03"
VUE_APP_UPLOAD_IMG="/base/upload/uploadPicture"
VUE_APP_UPLOAD_FILE="/base/upload/uploadFile"
VUE_APP_UPLOAD_LOGO="/base/upload/uploadLogo"
{
"version":"9.0.02"
"version":"9.0.03"
}
\ No newline at end of file
......@@ -108,7 +108,7 @@
}
});
var version = this.version; //版本号(每次上线前需要更新下版本号)
var vvv ="9.0.02"
var vvv ="9.0.03"
if(vvv!=version){
this.version=vvv;
location.reload();
......
......@@ -162,7 +162,7 @@ var getCookie = (function(){
})();
import { Loading,MessageBox } from 'element-ui';
import {Toast} from 'mint-ui';
var vvv ="9.0.02"
var vvv ="9.0.03"
if(vvv!=process.env.VUE_APP_UPDATED){
location.reload();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment