This commit is contained in:
仲么了
2024-01-19 14:14:45 +08:00
parent 9b85e7125b
commit 489d4e2e53

View File

@@ -12,10 +12,7 @@
/>
<el-button :icon="Plus" type="primary" @click="addMenu" class="ml10">新增</el-button>
</div>
<Table
:tree-config="{ reserve: true, expandAll: !!tableStore.table.params.searchValue }"
@currentChange="currentChange"
/>
<Table @currentChange="currentChange" />
<popupMenu ref="popupRef" @init="emits('init')"></popupMenu>
</div>
</template>
@@ -127,10 +124,6 @@ const search = () => {
nextTick(() => {
tableStore.table.ref?.setAllTreeExpand(true)
})
} else {
nextTick(() => {
tableStore.table.ref?.setAllTreeExpand(false)
})
}
}