whj 10 місяців тому
батько
коміт
e6ef43d2e6
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      src/views/custom/relation/CustomRelation.vue

+ 2 - 2
src/views/custom/relation/CustomRelation.vue

@@ -46,8 +46,8 @@
         <span slot="action" slot-scope="record">
           <template>
             <a @click="handleView(record)">查看</a>
-            <operation-button v-if="$auth('custom-relation-edit')" @click="handleEdit(record)">修改</operation-button>
-            <operation-button v-if="$auth('custom-relation-del')" :type="2" title="是否要删除该条数据?" @confirm="batchDelete(record.id)">删除</operation-button>
+            <operation-button @click="handleEdit(record)">修改</operation-button>
+            <operation-button :type="2" title="是否要删除该条数据?" @confirm="batchDelete(record.id)">删除</operation-button>
           </template>
         </span>
       </s-table>