Kaynağa Gözat

摄影师支持删除照片,不需要判断审核状态

梁展鹏 3 yıl önce
ebeveyn
işleme
04dd5629cd

+ 16 - 18
src/views/photographerManagement/photoVerify/index.vue

@@ -148,25 +148,23 @@ export default {
           width: '120',
           render: (h, { row }) => {
             const action = [];
-            row.auditStatus !== 1 &&
-              action.push(
-                h(
-                  'BaseBtn',
-                  {
-                    props: {
-                      popip: true,
-                      txt: '删除',
-                      type: 'text'
-                    },
-                    class: 'ml-10',
-                    on: {
-                      ok: () => this.handleDelItem(row)
-                    }
+            action.push(
+              h(
+                'BaseBtn',
+                {
+                  props: {
+                    popip: true,
+                    txt: '删除',
+                    type: 'text'
                   },
-                  '删除'
-                )
-              );
-
+                  class: 'ml-10',
+                  on: {
+                    ok: () => this.handleDelItem(row)
+                  }
+                },
+                '删除'
+              )
+            );
             return h('div', action);
           }
         }