|
@@ -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>
|