Update add.vue

parent 6c7d369e
...@@ -211,7 +211,7 @@ export default defineComponent({ ...@@ -211,7 +211,7 @@ export default defineComponent({
message: 'Thêm sản phẩm thành công', message: 'Thêm sản phẩm thành công',
actions: [{ icon: 'close', color: 'white' }], actions: [{ icon: 'close', color: 'white' }],
}); });
context.emit('update:isOpened', false); void listProductNotActive();
} }
} catch (error) {} } catch (error) {}
}; };
...@@ -292,7 +292,7 @@ export default defineComponent({ ...@@ -292,7 +292,7 @@ export default defineComponent({
embeddedUrl.value = null; embeddedUrl.value = null;
salientStatus.value = 1; salientStatus.value = 1;
codeProduct.value = null; codeProduct.value = null;
imageUrl.value = ''; imageUrl.value = null;
avatarUploaded.value = ''; avatarUploaded.value = '';
}; };
const handleConfirmAdd = async () => { const handleConfirmAdd = async () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment