营销文章:新增表单属性移除浏览量

This commit is contained in:
puhui999 2023-10-18 11:33:42 +08:00
parent 50e43e4028
commit d1a3fe5d5a

View File

@ -40,16 +40,6 @@
<UploadImg v-model="formData.picUrl" height="80px" /> <UploadImg v-model="formData.picUrl" height="80px" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-form-item label="浏览次数" prop="browseCount">
<el-input-number
v-model="formData.browseCount"
:min="0"
clearable
controls-position="right"
/>
</el-form-item>
</el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="排序" prop="sort"> <el-form-item label="排序" prop="sort">
<el-input-number v-model="formData.sort" :min="0" clearable controls-position="right" /> <el-input-number v-model="formData.sort" :min="0" clearable controls-position="right" />
@ -141,7 +131,6 @@ const formData = ref({
author: undefined, author: undefined,
picUrl: undefined, picUrl: undefined,
introduction: undefined, introduction: undefined,
browseCount: 0,
sort: 0, sort: 0,
status: 0, status: 0,
spuId: undefined, spuId: undefined,
@ -215,7 +204,6 @@ const resetForm = () => {
author: undefined, author: undefined,
picUrl: undefined, picUrl: undefined,
introduction: undefined, introduction: undefined,
browseCount: 0,
sort: 0, sort: 0,
status: 0, status: 0,
spuId: undefined, spuId: undefined,