lex 1 år sedan
förälder
incheckning
51b0cd2d63

+ 1 - 1
public/version.json

@@ -1 +1 @@
-{"version":1709717301140}
+{"version":1709719359446}

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

+ 3 - 3
src/views/notation/index.tsx

@@ -24,9 +24,9 @@ export default defineComponent({
       src: `${
         /(192|localhost)/.test(location.origin)
           ? // ?
-            // 'https://test.lexiaoya.cn'
-            'http://localhost:3050'
-          : location.origin
+            'https://test.lexiaoya.cn'
+          : // 'http://localhost:3050'
+            location.origin
       }/notation/?t=${Date.now()}#/create?v=${Date.now()}&Authorization=${Authorization}${openCreateUrl}`
       //   src: `http://localhost:3050/#/create?Authorization=${Authorization}`
     });