Преглед изворни кода

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('修改成功');