panhui 4 éve
szülő
commit
cf709fd1a7
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/views/activity/Detail1.vue

+ 1 - 1
src/views/activity/Detail1.vue

@@ -39,7 +39,7 @@ export default {
     },
     },
     computed: {
     computed: {
         isSolded() {
         isSolded() {
-            return this.info.stock && this.info.stock > 0;
+            return this.info.stock && this.info.stock < 0;
         }
         }
     },
     },
     mounted() {
     mounted() {