Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sts网站
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
liyang
sts网站
Commits
090e258b
Commit
090e258b
authored
Mar 24, 2021
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
显隐列初始默认隐藏列
parent
505fa06d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
index.vue
ruoyi-ui/src/components/RightToolbar/index.vue
+8
-1
userAvatar.vue
ruoyi-ui/src/views/system/user/profile/userAvatar.vue
+2
-9
No files found.
ruoyi-ui/src/components/RightToolbar/index.vue
View file @
090e258b
...
...
@@ -43,7 +43,14 @@ export default {
type
:
Array
,
},
},
created
()
{
// 显隐列初始默认隐藏列
for
(
let
item
in
this
.
columns
)
{
if
(
this
.
columns
[
item
].
visible
===
false
)
{
this
.
value
.
push
(
parseInt
(
item
));
}
}
},
methods
:
{
// 搜索
toggleSearch
()
{
...
...
ruoyi-ui/src/views/system/user/profile/userAvatar.vue
View file @
090e258b
...
...
@@ -81,14 +81,6 @@ export default {
},
previews
:
{}
};
},
created
()
{
// 显隐列组件默认隐藏列
for
(
let
item
in
this
.
columns
)
{
if
(
this
.
columns
[
item
].
visible
===
false
)
{
this
.
value
.
push
(
parseInt
(
item
))
}
}
},
methods
:
{
// 编辑头像
...
...
@@ -145,9 +137,10 @@ export default {
realTime
(
data
)
{
this
.
previews
=
data
;
},
//
取消截图,关闭对话框
//
关闭窗口
closeDialog
()
{
this
.
options
.
img
=
store
.
getters
.
avatar
this
.
visible
=
false
;
}
}
};
...
...
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