This commit is contained in:
cun-nan 2024-10-18 10:47:31 +08:00
parent 1ae880d708
commit 10f36850d7

View File

@ -93,7 +93,7 @@
</div> </div>
<el-dialog :title="title" :close-on-click-modal="false" :before-close="handleCancel" :visible.sync="open" width="30%" <el-dialog :title="title" :close-on-click-modal="false" :before-close="handleCancel" :visible.sync="open" width="30%"
append-to-body > append-to-body >
<el-form ref="form" :model="deviceInfo" label-width="80px"> <el-form ref="deviceForm" :model="deviceInfo" label-width="80px">
<el-form :model="deviceInfo" :rules="rules" ref="deviceForm" label-width="120px"> <el-form :model="deviceInfo" :rules="rules" ref="deviceForm" label-width="120px">
<el-form-item label="设备名称" prop="deviceName"> <el-form-item label="设备名称" prop="deviceName">
<el-input v-model="deviceInfo.deviceName" style="width: 300px"></el-input> <el-input v-model="deviceInfo.deviceName" style="width: 300px"></el-input>