refactor: Clean code

This commit is contained in:
Net 2024-08-23 17:32:47 +07:00
parent d5f1d5b378
commit cca115ba14

View file

@ -753,7 +753,6 @@ async function triggerChangeStatus(
}
currentNoAction.value = handleStatus();
console.log(currentNoAction.value);
},
cancel: () => {},
});
@ -1457,8 +1456,6 @@ watch(
watch([currentStatusList, productMode], () => {
currentNoAction.value = handleStatus();
console.log(currentStatusList.value);
});
</script>
@ -1702,8 +1699,6 @@ watch([currentStatusList, productMode], () => {
"
@change-status="
async (v: (typeof treeProductTypeAndGroup)[number]) => {
console.log(currentStatusList);
if (v.type === 'type') {
await triggerChangeStatus(v.id, v.status, v.type);