refactor: Clean code
This commit is contained in:
parent
d5f1d5b378
commit
cca115ba14
1 changed files with 0 additions and 5 deletions
|
|
@ -753,7 +753,6 @@ async function triggerChangeStatus(
|
||||||
}
|
}
|
||||||
|
|
||||||
currentNoAction.value = handleStatus();
|
currentNoAction.value = handleStatus();
|
||||||
console.log(currentNoAction.value);
|
|
||||||
},
|
},
|
||||||
cancel: () => {},
|
cancel: () => {},
|
||||||
});
|
});
|
||||||
|
|
@ -1457,8 +1456,6 @@ watch(
|
||||||
|
|
||||||
watch([currentStatusList, productMode], () => {
|
watch([currentStatusList, productMode], () => {
|
||||||
currentNoAction.value = handleStatus();
|
currentNoAction.value = handleStatus();
|
||||||
|
|
||||||
console.log(currentStatusList.value);
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
@ -1702,8 +1699,6 @@ watch([currentStatusList, productMode], () => {
|
||||||
"
|
"
|
||||||
@change-status="
|
@change-status="
|
||||||
async (v: (typeof treeProductTypeAndGroup)[number]) => {
|
async (v: (typeof treeProductTypeAndGroup)[number]) => {
|
||||||
console.log(currentStatusList);
|
|
||||||
|
|
||||||
if (v.type === 'type') {
|
if (v.type === 'type') {
|
||||||
await triggerChangeStatus(v.id, v.status, v.type);
|
await triggerChangeStatus(v.id, v.status, v.type);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue