Commit 18f263bf by chenwq

```

fix(withdraw): 移除el-drawer的wrapperClosable属性并优化handleClose方法

移除了customTagDrawer组件中el-drawer的wrapperClosable="false"属性,
简化了handleClose方法的参数处理逻辑,并添加drawerClose事件监听来
更新手动标签列表数据。
```
1 parent 47dac5a6
<template>
<el-drawer class="custom-tag-drawer" title="自定义标签" :visible.sync="isVisible" direction="rtl" size="680px" :before-close="handleClose" :append-to-body="true" :wrapperClosable="false">
<el-drawer class="custom-tag-drawer" title="自定义标签" :visible.sync="isVisible" direction="rtl" size="680px" :before-close="handleClose" :append-to-body="true">
<div class="tag-tree-panel" v-loading="loading">
<div class="tag-tree-title">
<span>标签列表</span>
......@@ -73,11 +73,9 @@ export default {
}
},
methods: {
handleClose(done) {
handleClose() {
this.$emit('update:visible', false)
if (typeof done === 'function') {
done()
}
this.$emit('drawerClose')
},
getTagTree() {
this.loading = true
......
......@@ -200,7 +200,7 @@
<!-- 详情 -->
<detail-dialog class="" :detail-visible="detailVisible" :id="id" @dialogClose="dialogClose"></detail-dialog>
<batch-tag-dialog :visible.sync="batchTagVisible" :ids="ids" @success="handleTagBindSuccess"></batch-tag-dialog>
<custom-tag-drawer :visible.sync="customTagVisible"></custom-tag-drawer>
<custom-tag-drawer :visible.sync="customTagVisible" @drawerClose="handleDrawerClose"></custom-tag-drawer>
<!-- 累计结算金额 -->
<GLDialog class="settleAmount-dialog" title="累计结算金额" mode="big" :visible.sync="isMore" :close-on-click-modal="false" :hasFooter="hasFooter">
<div class="content">
......@@ -1057,6 +1057,9 @@ export default {
this.isIdCard = true
}
},
handleDrawerClose() {
this.getManualTagList()
},
//协议
openAgreement(url) {
this.pdfUrl = url
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!