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
6b2f867e
Commit
6b2f867e
authored
Sep 04, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
版本号
parent
5361e901
Show 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 @
6b2f867e
NODE_ENV="production"
VUE_APP_URL="prod"
API_ROOT="/"
VUE_APP_UPDATED="6.
1
.01"
VUE_APP_UPDATED="6.
2
.01"
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 @
6b2f867e
NODE_ENV="production"
VUE_APP_URL="dev"
API_ROOT="/"
VUE_APP_UPDATED="6.
1
.01"
VUE_APP_UPDATED="6.
2
.01"
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 @
6b2f867e
{
"version"
:
"6.
1
.01"
"version"
:
"6.
2
.01"
}
\ No newline at end of file
src/App.vue
View file @
6b2f867e
...
...
@@ -108,7 +108,7 @@
}
});
var
version
=
this
.
version
;
//版本号(每次上线前需要更新下版本号)
var
vvv
=
"6.
1
.01"
var
vvv
=
"6.
2
.01"
if
(
vvv
!=
version
){
this
.
version
=
vvv
;
location
.
reload
();
...
...
src/main.js
View file @
6b2f867e
...
...
@@ -151,7 +151,7 @@ var getCookie = (function(){
})();
import
{
Loading
,
MessageBox
}
from
'element-ui'
;
import
{
Toast
}
from
'mint-ui'
;
var
vvv
=
"6.
1
.01"
var
vvv
=
"6.
2
.01"
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