Browse Source

分类保存bug修复

ellisran 5 tháng trước cách đây
mục cha
commit
c044f362d9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/public/js/tender_list_base.js

+ 1 - 1
app/public/js/tender_list_base.js

@@ -390,7 +390,7 @@ $(document).ready(() => {
                 data.push({id: c.id, level: node.getPath().length - 1});
             }
         }
-        postData('/setting/category/level', data, function (rst) {
+        postData(`/sp/${spid}/setting/category/level`, data, function (rst) {
             for (const d of data) {
                 const c = findNode('id', d.id, category);
                 c.level = d.level;