scorpio %!s(int64=2) %!d(string=hai) anos
pai
achega
6f1b9ccea6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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