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
3054b6ee
authored
2023-03-24 13:49:06 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:配置
1 parent
d3eeff7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
src/api/user.js
src/utils/theme.js
src/api/user.js
View file @
3054b6e
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-2
3 13:17:59
* @LastEditTime: 2023-03-2
4 09:28:25
*/
import
request
from
'@/utils/request'
// let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
console
.
log
(
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
)));
// 获取用户信息
export
function
getUserInfo
()
{
return
request
({
...
...
src/utils/theme.js
View file @
3054b6e
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-2
1 13:42:1
3
* @LastEditTime: 2023-03-2
4 13:47:3
3
*/
import
Vue
from
'vue'
export
default
function
getTheme
(
theme
=
Vue
.
prototype
.
BASE_API
.
THEME
)
{
...
...
Please
register
or
sign in
to post a comment