Browse Source

Merge branch 'fine_music_score' into jenkins

lex 1 year ago
parent
commit
a89f5085f0
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/views/cart/index.tsx

+ 7 - 7
src/views/cart/index.tsx

@@ -105,13 +105,13 @@ export default defineComponent({
             }
           }
         )
-        item.stock = data
-        if (item.quantity > data) {
-          item.quantity = data
-          setTimeout(() => {
-            Toast('库存不足')
-          }, 500)
-        }
+        // item.stock = data
+        // if (item.quantity > data) {
+        //   item.quantity = data
+        //   setTimeout(() => {
+        //     Toast('库存不足')
+        //   }, 500)
+        // }
       } catch (err) {}
     },