Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ab1bccb8
authored
2023-03-27 16:51:05 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chore:配置修改
1 parent
89d12179
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
public/config.json
src/permission.js
src/views/system/timedTask/index.vue
public/config.json
View file @
ab1bccb
{
"TITLE"
:
"汉中市数据上报系统"
,
"THEME"
:
"sb"
,
"CODE"
:
"BDC
JG
PT"
,
"CODE"
:
"BDC
SB
PT"
,
"SERVERAPI"
:
"/bdcsjsb"
,
"calcHeight"
:
160
,
"MANAGEMENTAPI"
:
"http://192.168.2.38:8090/management"
...
...
src/permission.js
View file @
ab1bccb
...
...
@@ -20,7 +20,9 @@ router.beforeEach(async (to, from, next) => {
localStorage
.
removeItem
(
"token"
);
next
();
}
else
{
window
.
document
.
documentElement
.
setAttribute
(
"data-theme"
,
'blue'
);
setTimeout
(()
=>
{
window
.
document
.
documentElement
.
setAttribute
(
"data-theme"
,
'blue'
);
},
20
)
let
code
=
Vue
.
prototype
.
BASE_API
.
CODE
//判断token是否存在
const
hasToken
=
localStorage
.
getItem
(
"token"
);
...
...
src/views/system/timedTask/index.vue
View file @
ab1bccb
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to post a comment