dct пре 3 месеци
родитељ
комит
6bd7e24d73
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5 1
      src/pages/systemSetting/commonSetting.vue

+ 5 - 1
src/pages/systemSetting/commonSetting.vue

@@ -57,7 +57,11 @@
         </el-table-column> -->
         </el-table-column> -->
         <el-table-column fixed="right" label="操作" width="120">
         <el-table-column fixed="right" label="操作" width="120">
           <template slot-scope="scope">
           <template slot-scope="scope">
-            <el-button type="text" size="small" @click="showDialog('edit', scope.row)">
+            <el-button
+              v-if="scope.row.isUpdate === 1"
+              type="text"
+              size="small"
+              @click="showDialog('edit', scope.row)">
               编辑
               编辑
             </el-button>
             </el-button>
             <!-- <el-button type="text" size="small" @click="deleteConfig(scope.row)">
             <!-- <el-button type="text" size="small" @click="deleteConfig(scope.row)">