Browse Source

Merge remote-tracking branch 'origin/master'

ZaiZai 1 năm trước cách đây
mục cha
commit
e189331511

+ 4 - 1
src/views/project/debit/contract/components/unit/tree-form.vue

@@ -1,5 +1,5 @@
 <template>
-    <hc-new-dialog v-model="isShow" is-table widths="95%" title="合同计量单元新增" :loading="addNodeLoading" @save="modalSave">
+    <hc-new-dialog v-model="isShow" is-table widths="95%" title="合同计量单元新增" :loading="addNodeLoading" @save="modalSave" @close="closeAddModal">
         <div class="relative h-full flex">
             <div :id="`hc_tree_card_${uuid}`">
                 <hc-new-card scrollbar>
@@ -176,6 +176,9 @@ const modalSave = async () => {
         emit('finish')
     
 }
+const closeAddModal = ()=>{
+    tableData.value = []
+}
 </script>
 
 <style lang="scss" scoped>