review代码调整代码

This commit is contained in:
2024-11-14 11:47:42 +08:00
parent 8f89252d8b
commit 95f54fb674
2 changed files with 3 additions and 4 deletions

View File

@@ -21,7 +21,7 @@
</template>
<script setup lang='tsx' name='dict'>
import {CirclePlus, Delete, EditPen, Download, View} from '@element-plus/icons-vue'
import {CirclePlus, Delete, EditPen} from '@element-plus/icons-vue'
import {type Dict} from '@/api/system/dictionary/interface'
import type { ProTableInstance, ColumnProps } from '@/components/ProTable/interface'
import TreePopup from '@/views/system/dictionary/dictTree/components/treePopup.vue'
@@ -72,6 +72,7 @@
prop: 'operation',
label: '操作',
fixed: 'right',
width: 250,
},
])
@@ -83,7 +84,7 @@
// 删除字典类型
const handleDelete = async (params: Dict.ResDictTree) => {
//console.log(params)
console.log(params)
await useHandleData(deleteDictTree, params, `删除【${params.name}】树形字典类型`)
proTable.value?.getTableList()
}