@@ -41,7 +41,7 @@
res.result.records.forEach(element => {
var obj = {
label: element.name,
- value: element.name
+ value: element.id
};
option.push(obj)
});
@@ -49,7 +49,7 @@
},
{
title: '上级分类(parent)',
- dataIndex: 'parentId',
+ dataIndex: 'parentId_dictText',
key: 'parentId',
@@ -150,4 +150,4 @@
async function batchHandleDelete() {
await batchDelete({ids: selectedRowKeys.value}, handleSuccess);
}
-</script>
+</script>