Browse Source

Merge branch 'iteration-work' into jenkins

lex 1 year ago
parent
commit
7a5a511350

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