zhangjie %!s(int64=2) %!d(string=hai) anos
pai
achega
0ce9f2a428
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/modules/base/views/CardManage.vue

+ 3 - 3
src/modules/base/views/CardManage.vue

@@ -133,7 +133,7 @@
               v-if="
                 checkPrivilege('link', 'delete') &&
                 scope.row.type !== 'CUSTOM' &&
-                scope.row.used
+                !scope.row.used
               "
               class="btn-danger"
               type="text"
@@ -144,7 +144,7 @@
               v-if="
                 checkPrivilege('link', 'edit') &&
                 scope.row.createMethod !== 'UPLOAD' &&
-                scope.row.used
+                !scope.row.used
               "
               class="btn-primary"
               type="text"
@@ -155,7 +155,7 @@
               v-if="
                 checkPrivilege('link', 'edit') &&
                 scope.row.type !== 'CUSTOM' &&
-                scope.row.used
+                !scope.row.used
               "
               class="btn-primary"
               type="text"