Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
FLIPPED-AURORA
gin-vue-admin
提交
a3beb44e
G
gin-vue-admin
项目概览
FLIPPED-AURORA
/
gin-vue-admin
大约 1 年 前同步成功
通知
333
Star
18155
Fork
5506
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gin-vue-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a3beb44e
编写于
5月 31, 2022
作者:
Mr.奇淼(
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixed: #1102
上级
ba98288a
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
8 addition
and
8 deletion
+8
-8
web/src/pinia/modules/user.js
web/src/pinia/modules/user.js
+1
-1
web/src/view/example/breakpoint/breakpoint.vue
web/src/view/example/breakpoint/breakpoint.vue
+1
-1
web/src/view/layout/aside/historyComponent/history.vue
web/src/view/layout/aside/historyComponent/history.vue
+4
-4
web/src/view/layout/aside/index.vue
web/src/view/layout/aside/index.vue
+1
-1
web/src/view/superAdmin/user/user.vue
web/src/view/superAdmin/user/user.vue
+1
-1
未找到文件。
web/src/pinia/modules/user.js
浏览文件 @
a3beb44e
...
...
@@ -122,7 +122,7 @@ export const useUserStore = defineStore('user', () => {
return
userInfo
.
activeColor
})
watch
(
token
,
()
=>
{
watch
(
()
=>
token
.
value
,
()
=>
{
window
.
localStorage
.
setItem
(
'
token
'
,
token
.
value
)
})
...
...
web/src/view/example/breakpoint/breakpoint.vue
浏览文件 @
a3beb44e
...
...
@@ -140,7 +140,7 @@ const sliceFile = () => {
})
}
watch
(
waitNum
,
()
=>
{
percentage
.
value
=
Math
.
floor
(((
formDataList
.
value
.
length
-
waitNum
.
value
)
/
formDataList
.
value
.
length
)
*
100
)
})
watch
(
()
=>
waitNum
.
value
,
()
=>
{
percentage
.
value
=
Math
.
floor
(((
formDataList
.
value
.
length
-
waitNum
.
value
)
/
formDataList
.
value
.
length
)
*
100
)
})
const
upLoadFileSlice
=
async
(
item
)
=>
{
// 切片上传
...
...
web/src/view/layout/aside/historyComponent/history.vue
浏览文件 @
a3beb44e
...
...
@@ -217,7 +217,7 @@ const removeTab = (tab) => {
const
index
=
historys
.
value
.
findIndex
(
(
item
)
=>
getFmtString
(
item
)
===
tab
)
if
(
getFmtString
(
route
)
===
tab
)
{
if
(
getFmtString
(
route
)
===
tab
)
{
if
(
historys
.
value
.
length
===
1
)
{
router
.
push
({
name
:
defaultRouter
.
value
})
}
else
{
...
...
@@ -239,7 +239,7 @@ const removeTab = (tab) => {
historys
.
value
.
splice
(
index
,
1
)
}
watch
(
contextMenuVisibl
e
,
()
=>
{
watch
(
()
=>
contextMenuVisible
.
valu
e
,
()
=>
{
if
(
contextMenuVisible
.
value
)
{
document
.
body
.
addEventListener
(
'
click
'
,
()
=>
{
contextMenuVisible
.
value
=
false
...
...
@@ -251,7 +251,7 @@ watch(contextMenuVisible, () => {
}
})
watch
(
route
,
(
to
,
now
)
=>
{
watch
(
()
=>
route
,
(
to
,
now
)
=>
{
if
(
to
.
name
===
'
Login
'
||
to
.
name
===
'
Reload
'
)
{
return
}
...
...
@@ -259,7 +259,7 @@ watch(route, (to, now) => {
setTab
(
to
)
sessionStorage
.
setItem
(
'
historys
'
,
JSON
.
stringify
(
historys
.
value
))
activeValue
.
value
=
window
.
sessionStorage
.
getItem
(
'
activeValue
'
)
})
}
,
{
deep
:
true
}
)
watch
(()
=>
historys
.
value
,
()
=>
{
sessionStorage
.
setItem
(
'
historys
'
,
JSON
.
stringify
(
historys
.
value
))
...
...
web/src/view/layout/aside/index.vue
浏览文件 @
a3beb44e
...
...
@@ -83,7 +83,7 @@ getTheme()
const
active
=
ref
(
''
)
watch
(()
=>
route
,
()
=>
{
active
.
value
=
route
.
name
})
}
,
{
deep
:
true
}
)
watch
(()
=>
userStore
.
sideMode
,
()
=>
{
getTheme
()
...
...
web/src/view/superAdmin/user/user.vue
浏览文件 @
a3beb44e
...
...
@@ -193,7 +193,7 @@ const getTableData = async() => {
}
}
watch
(
tableData
,
()
=>
{
watch
(
()
=>
tableData
.
value
,
()
=>
{
setAuthorityIds
()
})
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录