Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b424cd54
authored
Mar 29, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加清空右侧按钮
1 parent
4312e440
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
src/views/user/select.vue
src/views/user/select.vue
View file @
b424cd5
...
@@ -45,6 +45,7 @@
...
@@ -45,6 +45,7 @@
<div
class=
"middle_box"
>
<div
class=
"middle_box"
>
<el-button
type=
"primary"
class=
"btn"
icon=
"el-icon-arrow-right"
size=
"small"
:loading=
"ajaxloding"
@
click=
"moveToRight"
></el-button>
<el-button
type=
"primary"
class=
"btn"
icon=
"el-icon-arrow-right"
size=
"small"
:loading=
"ajaxloding"
@
click=
"moveToRight"
></el-button>
<el-button
type=
"primary"
class=
"btn"
icon=
"el-icon-arrow-left"
size=
"small"
:loading=
"ajaxloding"
:disabled=
"!rightCheckList || rightCheckList.length
<
=0" @click="moveToLeft">
</el-button>
<el-button
type=
"primary"
class=
"btn"
icon=
"el-icon-arrow-left"
size=
"small"
:loading=
"ajaxloding"
:disabled=
"!rightCheckList || rightCheckList.length
<
=0" @click="moveToLeft">
</el-button>
<el-button
type=
"primary"
class=
"btn"
icon=
"el-icon-d-arrow-left"
size=
"small"
:loading=
"ajaxloding"
@
click=
"clearSelect"
></el-button>
</div>
</div>
<!-- 中间按钮区域 end -->
<!-- 中间按钮区域 end -->
...
@@ -504,6 +505,13 @@ export default {
...
@@ -504,6 +505,13 @@ export default {
this
.
showCheckList
.
unshift
(
e
);
this
.
showCheckList
.
unshift
(
e
);
}
}
},
},
// 清空右侧选择
clearSelect
(){
this
.
checkList
=
[];
this
.
showCheckList
=
[];
}
},
},
};
};
</
script
>
</
script
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment