Commit c2fd1a51 by 李伟康

commit 提交

1 parent d027dfdd
...@@ -236,6 +236,7 @@ export default { ...@@ -236,6 +236,7 @@ export default {
closeAllPopup () { closeAllPopup () {
this.$refs.carBrandListVisible.close() this.$refs.carBrandListVisible.close()
this.$refs.employeeBoxVisible.close() this.$refs.employeeBoxVisible.close()
this.$refs.couponBoxVisible.close()
}, },
chooseCoupon (item) { chooseCoupon (item) {
this.couponId = item.id this.couponId = item.id
......
...@@ -115,7 +115,7 @@ export default { ...@@ -115,7 +115,7 @@ export default {
}, },
/**切换素材 */ /**切换素材 */
choose (e) { choose (e) {
if (this.id == 1) this.$refs.media1[0].closeAllPopup() if (this.id == 7) this.$refs.media7[0].closeAllPopup()
this.$emit('update:id', e.id) this.$emit('update:id', e.id)
if (e.id == 2 || e.id == 4) { if (e.id == 2 || e.id == 4) {
// console.log(this.$refs[`media${e.id}`][0].$refs) // console.log(this.$refs[`media${e.id}`][0].$refs)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!