Commit ffadf368 authored by zhangyanni's avatar zhangyanni

提交版本号

parent dea8b5cf
NODE_ENV="production"
VUE_APP_URL="prod"
API_ROOT="/"
VUE_APP_UPDATED="4.1.3"
VUE_APP_UPDATED="4.1.4"
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="4.1.3"
VUE_APP_UPDATED="4.1.4"
VUE_APP_UPLOAD_IMG="/base/upload/uploadPicture"
VUE_APP_UPLOAD_FILE="/base/upload/uploadFile"
VUE_APP_UPLOAD_LOGO="/base/upload/uploadLogo"
{
"version":"4.1.3"
"version":"4.1.4"
}
\ No newline at end of file
......@@ -82,7 +82,7 @@
}
});
var version = this.version; //版本号(每次上线前需要更新下版本号)
var vvv ="4.1.3"
var vvv ="4.1.4"
if(vvv!=version){
this.version=vvv;
location.reload();
......
......@@ -146,7 +146,7 @@ var getCookie = (function(){
})();
import { Loading,MessageBox } from 'element-ui';
import {Toast} from 'mint-ui';
var vvv ="4.1.3"
var vvv ="4.1.4"
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