Przeglądaj źródła

Merge branch 'iteration_1.3.3' into dev

lex 2 lat temu
rodzic
commit
82494cd3e8
1 zmienionych plików z 5 dodań i 2 usunięć
  1. 5 2
      src/views/user-info/components/item/index.tsx

+ 5 - 2
src/views/user-info/components/item/index.tsx

@@ -20,9 +20,12 @@ export default defineComponent({
       <div
         class="border border-[#E0E0E0] box-border rounded-[10px] w-[218px] m-auto overflow-hidden relative transition-all cursor-pointer"
         onClick={() => {
-          console.log(item)
+          // console.log(item)
           if (item.type === 'video') {
-            if (item.shelvesFlag === 0) {
+            if (
+              item.shelvesFlag === 0 &&
+              (item.status === 'UNPASS' || item.status === 'OUT_SALE')
+            ) {
               this.$router.push({
                 path: '/userInfo/videoOperation',
                 query: {