Commit 379346b5 by 胡悦

提交

1 parent 7d47006b
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-06-20 11:32:52
* @LastEditors: huyue
* @LastEditTime: 2024-07-04 16:01:05
* @LastEditTime: 2024-07-04 16:07:51
-->
<template>
<view class="layout" @click.prevent="touch">
......@@ -47,7 +47,7 @@
</view>
</template>
</wnCanvas>
<partsPop ref="partsRef" :screenList="screenList"></partsPop>
<partsPop ref="partsRef" @close="close" :screenList="screenList"></partsPop>
</view>
</template>
<script>
......@@ -77,9 +77,13 @@ export default {
watchStatus () {
this.showIndex = -1
this.$refs.partsRef.close()
this.$emit('closeProductModel')
}
},
methods: {
close() {
this.$emit('closeProductModel')
},
open(name) {
console.log(name);
if (name) this.$refs.partsRef.show(name)
......
......@@ -48,6 +48,7 @@ export default {
},
close() {
this.$refs.partsRef.close();
this.$emit('close')
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!