Hua 1 mēnesi atpakaļ
vecāks
revīzija
0d6b5eb466
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/views/duChaJiHua/editDcdxInfo_ncysaq.vue

+ 2 - 2
src/views/duChaJiHua/editDcdxInfo_ncysaq.vue

@@ -82,8 +82,8 @@
             }"
             style="width: 100%;"
           >
-            <span v-if="ownPriv('manage')"<template #bodyCell="{ column, record }">
-              <span v-if="column.dataIndex === 'action'">
+            <template #bodyCell="{ column, record }">
+              <span v-if="column.dataIndex === 'action' && ownPriv('manage')">
                 <a @click="deleteHandler(record)">删除</a>
               </span>
             </template>