fix: 添加商品属性去掉备注

pull/153/head
puhui999 2023-05-17 01:37:21 +08:00
parent 52bfc4dac0
commit 6ac8c78d57
1 changed files with 2 additions and 6 deletions

View File

@ -7,12 +7,9 @@
:rules="formRules"
label-width="80px"
>
<el-form-item label="名称" prop="name">
<el-form-item label="属性名称" prop="name">
<el-input v-model="formData.name" placeholder="请输入名称" />
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-input v-model="formData.remark" placeholder="请输入内容" type="textarea" />
</el-form-item>
</el-form>
<template #footer>
<el-button :disabled="formLoading" type="primary" @click="submitForm"> </el-button>
@ -30,8 +27,7 @@ const dialogVisible = ref(false) // 弹窗的是否展示
const dialogTitle = ref('添加商品属性') //
const formLoading = ref(false) // 12
const formData = ref({
name: '',
remark: ''
name: ''
})
const formRules = reactive({
name: [{ required: true, message: '名称不能为空', trigger: 'blur' }]