Przeglądaj źródła

分类值删除

laiguoran 5 lat temu
rodzic
commit
7132380501
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      app/public/js/category.js

+ 1 - 0
app/public/js/category.js

@@ -113,6 +113,7 @@ function bindCategoryValueControl() {
         const value = _.find(editCate.value, function (v) {
             return v.id == vid;
         });
+        $(this).remove();
         if (value.delete) { return; }
 
         if (value.relaTenders.length > 0) {