Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
property-company
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
物业总平台
property-company
Commits
bdea32ac
提交
bdea32ac
authored
9月 18, 2023
作者:
宋雄
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化
上级
a92047ee
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
11 行增加
和
10 行删除
+11
-10
.env.development
.env.development
+2
-2
.env.production
.env.production
+2
-1
Logo.vue
src/components/tools/Logo.vue
+2
-2
UserMenu.vue
src/components/tools/UserMenu.vue
+1
-1
user.js
src/store/modules/user.js
+2
-2
UserList.vue
src/views/system/UserList.vue
+2
-2
没有找到文件。
.env.development
浏览文件 @
bdea32ac
NODE_ENV=development
VUE_APP_API_BASE_URL='http://192.168.0.10
4
:9999'
# VUE_APP_API_BASE_URL='http://220.203.25.212:999
9
'
VUE_APP_API_BASE_URL='http://192.168.0.10
0
:9999'
# VUE_APP_API_BASE_URL='http://220.203.25.212:999
8
'
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
...
...
.env.production
浏览文件 @
bdea32ac
NODE_ENV=production
VUE_APP_API_BASE_URL=http://220.203.25.212:999
9
VUE_APP_API_BASE_URL=http://220.203.25.212:999
8
VUE_APP_CAS_BASE_URL=http://localhost:8888/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
\ No newline at end of file
src/components/tools/Logo.vue
浏览文件 @
bdea32ac
...
...
@@ -39,9 +39,9 @@
},
},
methods
:
{
...
mapGetters
([
"
avatar
"
]),
...
mapGetters
([
"
userInfo
"
]),
getAvatar
(){
return
getFileAccessHttpUrl
(
this
.
avatar
()
)
return
getFileAccessHttpUrl
(
this
.
userInfo
().
logoUrl
)
}
}
}
...
...
src/components/tools/UserMenu.vue
浏览文件 @
bdea32ac
...
...
@@ -173,7 +173,7 @@
...
mapActions
([
"Logout"
]),
...
mapGetters
([
"nickname"
,
"avatar"
,
"userInfo"
]),
getAvatar
(){
return
getFileAccessHttpUrl
(
this
.
avatar
()
)
return
getFileAccessHttpUrl
(
this
.
userInfo
().
avatar
)
},
handleLogout
()
{
const
that
=
this
...
...
src/store/modules/user.js
浏览文件 @
bdea32ac
...
...
@@ -95,9 +95,9 @@ const user = {
})
},
// 登录
Login
({
commit
},
userInfo
)
{
Login
({
commit
},
params
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
login
(
userInfo
).
then
(
response
=>
{
login
(
params
).
then
(
response
=>
{
if
(
response
.
code
==
'200'
){
const
result
=
response
.
result
const
userInfo
=
result
.
userInfo
...
...
src/views/system/UserList.vue
浏览文件 @
bdea32ac
...
...
@@ -26,8 +26,8 @@
<template
v-if=
"toggleSearchStatus"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"
真实名字
"
>
<a-input
placeholder=
"请输入
真实名字
"
v-model=
"queryParam.realname"
></a-input>
<a-form-item
label=
"
用户姓名
"
>
<a-input
placeholder=
"请输入
用户姓名
"
v-model=
"queryParam.realname"
></a-input>
</a-form-item>
</a-col>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论