Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-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
642b2203
authored
2022-08-16 17:26:47 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:弹框组件修改完成
1 parent
b62b0fdf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
15 deletions
src/components/dialogBox/dialogBox.vue
src/components/dialogBox/dialogBox.vue
View file @
642b220
...
...
@@ -15,7 +15,7 @@
</div>
<div
slot=
"footer"
class=
"dialog_footer"
ref=
"dialogFooter"
v-if=
"isButton"
>
<div
class=
"dialog_button"
>
<el-button
@
click=
"closeDialog
(false)
"
v-if=
"isReset"
>
取消
</el-button>
<el-button
@
click=
"closeDialog"
v-if=
"isReset"
>
取消
</el-button>
<el-button
type=
"primary"
plain
@
click=
"submitForm"
v-if=
"isSave"
:loading=
"saveloding"
>
{{
saveButton
}}
</el-button>
</div>
...
...
@@ -34,10 +34,6 @@ export default {
type
:
Boolean
,
default
:
true
,
},
multiple
:
{
type
:
Boolean
,
default
:
true
,
},
width
:
{
type
:
String
,
default
:
'70%'
,
...
...
@@ -93,23 +89,13 @@ export default {
submitForm
()
{
this
.
key
++
this
.
$emit
(
'input'
,
false
)
if
(
!
this
.
multiple
)
{
this
.
$parent
.
submitForm
()
}
else
{
this
.
$emit
(
'submitForm'
);
}
},
closeDialog
()
{
this
.
key
++
this
.
$emit
(
'input'
,
false
)
if
(
!
this
.
multiple
)
{
if
(
this
.
$parent
.
closeDialog
)
{
this
.
$parent
.
closeDialog
()
}
}
else
{
this
.
$emit
(
'closeDialog'
);
}
}
},
}
</
script
>
...
...
Please
register
or
sign in
to post a comment