Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
ffadf368
Commit
ffadf368
authored
Jul 29, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交版本号
parent
dea8b5cf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
.env
.env
+1
-1
.env.dev
.env.dev
+1
-1
version.json
public/version.json
+2
-1
App.vue
src/App.vue
+1
-1
main.js
src/main.js
+1
-1
No files found.
.env
View file @
ffadf368
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"
.env.dev
View file @
ffadf368
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"
public/version.json
View file @
ffadf368
{
"version"
:
"4.1.
3
"
"version"
:
"4.1.
4
"
}
\ No newline at end of file
src/App.vue
View file @
ffadf368
...
...
@@ -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
();
...
...
src/main.js
View file @
ffadf368
...
...
@@ -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
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment