whj 10 mesiacov pred
rodič
commit
e6ef43d2e6

+ 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>