فهرست منبع

Merge branch 'iteration-work' into jenkins

lex 1 سال پیش
والد
کامیت
7a5a511350
2فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 1 1
      public/version.json
  2. 5 1
      src/views/natural-resources/components/my-resources/index.tsx

+ 1 - 1
public/version.json

@@ -1 +1 @@
-{"version":1709717710581}
+{ "version": 1709717710581 }

+ 5 - 1
src/views/natural-resources/components/my-resources/index.tsx

@@ -226,7 +226,11 @@ export default defineComponent({
                 });
                 //
                 if (body.length > 0) {
-                  await materialUpdateAll(body);
+                  if (state.searchGroup.type === 'MUSIC') {
+                    await materialRemoveMusic(state.editIds);
+                  } else {
+                    await materialUpdateAll(body);
+                  }
                 }
               }
               message.success('修改成功');