Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
soss
Overview
Overview
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
hooloo
web
soss
Commits
c6e4108b
Commit
c6e4108b
authored
May 18, 2022
by
lixiaomin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改店铺取消按钮
parent
fc19e3be
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
build.zip
+0
-0
dist.zip
+0
-0
src/views/shop/shop/components/addShop.vue
+3
-2
src/views/shop/shop/setShop.vue
+5
-2
No files found.
build.zip
deleted
100644 → 0
View file @
fc19e3be
File deleted
dist.zip
deleted
100644 → 0
View file @
fc19e3be
File deleted
src/views/shop/shop/components/addShop.vue
View file @
c6e4108b
...
...
@@ -132,8 +132,9 @@ export default {
},
// 取消按钮
cancel
()
{
this
.
open
=
false
;
this
.
reset
();
this
.
$emit
(
'closeDialog'
)
// this.open = false;
// this.reset();
},
// 表单重置
reset
()
{
...
...
src/views/shop/shop/setShop.vue
View file @
c6e4108b
<
template
>
<!-- 添加或修改店铺对话框 -->
<el-dialog
title=
"店铺设置"
:visible
.
sync=
"open"
width=
"900px"
append-to-body
>
<el-dialog
title=
"店铺设置"
:visible
.
sync=
"open"
width=
"900px"
append-to-body
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"店铺信息"
name=
"first"
>
<AddShop
:shopId=
"shopId"
@
setShopId=
"setShopId"
/>
<AddShop
:shopId=
"shopId"
@
setShopId=
"setShopId"
@
closeDialog=
"closeHandle"
/>
</el-tab-pane>
<el-tab-pane
:disabled=
"!shopId"
label=
"机器信息"
name=
"second"
>
<Machine
:shopId=
"shopId"
/>
...
...
@@ -55,6 +55,9 @@ export default {
this
.
setShopId
(
shopId
)
this
.
open
=
true
;
},
closeHandle
()
{
this
.
open
=
false
// 控制取消和X按钮,关闭弹窗
}
}
};
...
...
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