Spaces:
Sleeping

doluong6 commited on
Commit
0633571
·
verified ·
1 Parent(s): c46ca68

Update static/script.js

Browse files
Files changed (1) hide show
  1. static/script.js +5 -1
static/script.js CHANGED
@@ -143,7 +143,8 @@ function chonMuc(muc) {
143
  hienThiHSKH();
144
  }
145
  if (muc === "taipyc") {
146
- hienFormTaiPYC();
 
147
  }
148
  }
149
 
@@ -974,6 +975,8 @@ function uploadPYC() {
974
  const formData = new FormData();
975
  formData.append("file", file);
976
 
 
 
977
  fetch(`${BACKEND_URL}/upload_pyc`, {
978
  method: "POST",
979
  body: formData
@@ -991,3 +994,4 @@ function uploadPYC() {
991
 
992
 
993
 
 
 
143
  hienThiHSKH();
144
  }
145
  if (muc === "taipyc") {
146
+ anTatCa();
147
+ document.getElementById("taipyc").style.display = "block";
148
  }
149
  }
150
 
 
975
  const formData = new FormData();
976
  formData.append("file", file);
977
 
978
+ document.getElementById("uploadStatus").innerText = "🔄 Đang tải file...";
979
+
980
  fetch(`${BACKEND_URL}/upload_pyc`, {
981
  method: "POST",
982
  body: formData
 
994
 
995
 
996
 
997
+