瀏覽代碼

fix: 解锁详情不需要操作按钮

liujt 7 小時之前
父節點
當前提交
434f1a4c29
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/warehouseManagement/unlockApplication/components/unlockModal.vue

+ 2 - 2
src/views/warehouseManagement/unlockApplication/components/unlockModal.vue

@@ -44,7 +44,7 @@
         </ele-pro-table>
       </div>
     </el-card>
-    <div class="btns" v-if="title != '详情'">
+    <div class="btns" v-if="modalType != 'detail'">
       <el-button :loading="loading" type="primary" size="small" @click="handleSave(0)"
         >保存</el-button
       >
@@ -138,7 +138,7 @@
     },
     computed: {
       readonlyMode() {
-        return this.title === '详情';
+        return this.modalType === 'detail';
       },
       tableColumns() {
         return this.title === '详情'