This commit is contained in:
2024-05-07 11:33:48 +07:00
parent 615e36647a
commit 7b96c6d976
3 changed files with 67 additions and 32 deletions

16
assets/script/main.js Normal file
View File

@@ -0,0 +1,16 @@
"use strict";
var AdminFunction = (function () {
function add_product_to_category(id) {
$('#status_' + id).html('<span class= "loading loading-bars loading-sm" ></span ><span class="ml-[3px]">Đang xử lý..</span>');
setTimeout(function () {
$('#status_' + id).html('');
}, 1000)
}
return {
add_product_to_category: add_product_to_category
}
})();