update dialog

This commit is contained in:
2022-09-27 15:59:35 +08:00
parent 5d32750d87
commit 1caf68592a
3 changed files with 16 additions and 3 deletions

View File

@@ -1,5 +1,11 @@
<template>
<el-dialog class="super-flexible-dialog" :title="isDetail ? $t('ws.detail') : !dataForm.id ? $t('add') : $t('ws.edit')" :visible.sync="visible">
<el-dialog
class="super-flexible-dialog"
:title="isDetail ? $t('ws.detail') : !dataForm.id ? $t('add') : $t('edit')"
:visible.sync="visible"
:close-on-click-modal="false"
:destroy-on-close="true"
>
<div style="max-height: 60vh; overflow-y: scroll; overflow-x: hidden;">
<el-form ref="dataForm" :model="dataForm" :rules="dataFormRules">
<el-row :gutter="20">