浏览代码

merge fix

scorpio 2 年之前
父节点
当前提交
6f1b9ccea6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/home/component/params/params1.vue

+ 1 - 1
src/views/home/component/params/params1.vue

@@ -2,7 +2,7 @@
   <div class='flex flex-justify-start flex-align-center flex-col'>
     <div class='flex flex-center full-width flex-justify-between mt-10 mb-10'>
       <span class='full-width text-left bold'>{{ info.dictValue }}</span>
-      <el-button type='primary' @click='disabled = !disabled'>{{ disabled ? '编 辑' : '保 存' }}</el-button>
+      <el-button v-if='detail.canUpdate'  type='primary' @click='disabled = !disabled'>{{ disabled ? '编 辑' : '保 存' }}</el-button>
     </div>
     <div class='mt-10' style='width: 80%;'>
       <el-form