@@ -64,7 +64,7 @@
<template slot="footer">
<a-button :loading="confirmLoading" type="primary" @click="save()">保存</a-button>
</template>
- <sb-info-select-modal ref="sbInfoSelectModal" @selected="handleSbSelectd"/>
+ <sb-info-select-modal v-if="visible" ref="sbInfoSelectModal" @selected="handleSbSelectd"/>
<UpLoad ref="upLoad" />
</a-modal>
@@ -1,5 +1,5 @@
<template>
- <div v-if="visible">
+ <div>
<a-modal
:title="modalTitle"
:width="1300"
@@ -371,6 +371,8 @@ export default {
handleCancel () {
this.visible = false
this.confirmLoading = false
+ this.selectedRowKeys = []
+ this.selectedRows = []
},
handleSelect () {
if (this.selectedRows.length === 0) {