File tree Expand file tree Collapse file tree 4 files changed +1
-12
lines changed Expand file tree Collapse file tree 4 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,6 @@ export interface CategoryVO {
20
20
* 移动端分类图
21
21
*/
22
22
picUrl : string
23
- /**
24
- * PC 端分类图
25
- */
26
- bigPicUrl ?: string
27
23
/**
28
24
* 分类排序
29
25
*/
Original file line number Diff line number Diff line change 25
25
<UploadImg v-model =" formData.picUrl" :limit =" 1" :is-show-tip =" false" />
26
26
<div style =" font-size : 10px " class =" pl-10px" >推荐 180x180 图片分辨率</div >
27
27
</el-form-item >
28
- <el-form-item label =" PC 端分类图" prop =" bigPicUrl" >
29
- <UploadImg v-model =" formData.bigPicUrl" :limit =" 1" :is-show-tip =" false" />
30
- <div style =" font-size : 10px " class =" pl-10px" >推荐 468x340 图片分辨率</div >
31
- </el-form-item >
32
28
<el-form-item label =" 分类排序" prop =" sort" >
33
29
<el-input-number v-model =" formData.sort" controls-position =" right" :min =" 0" />
34
30
</el-form-item >
@@ -68,7 +64,6 @@ const formData = ref({
68
64
id: undefined ,
69
65
name: ' ' ,
70
66
picUrl: ' ' ,
71
- bigPicUrl: ' ' ,
72
67
status: CommonStatusEnum .ENABLE
73
68
})
74
69
const formRules = reactive ({
@@ -133,7 +128,6 @@ const resetForm = () => {
133
128
id: undefined ,
134
129
name: ' ' ,
135
130
picUrl: ' ' ,
136
- bigPicUrl: ' ' ,
137
131
status: CommonStatusEnum .ENABLE
138
132
}
139
133
formRef .value ?.resetFields ()
Original file line number Diff line number Diff line change 38
38
<el-table-column label =" 名称" min-width =" 240" prop =" name" sortable />
39
39
<el-table-column label =" 分类图标" align =" center" min-width =" 80" prop =" picUrl" >
40
40
<template #default =" scope " >
41
- <img v-if = " scope.row.picUrl " :src =" scope.row.picUrl" alt =" 移动端分类图" class =" h-36px" />
41
+ <img :src =" scope.row.picUrl" alt =" 移动端分类图" class =" h-36px" />
42
42
</template >
43
43
</el-table-column >
44
44
<el-table-column label =" 排序" align =" center" min-width =" 150" prop =" sort" />
Original file line number Diff line number Diff line change @@ -119,7 +119,6 @@ const resetForm = () => {
119
119
id: undefined ,
120
120
name: ' ' ,
121
121
picUrl: ' ' ,
122
- bigPicUrl: ' ' ,
123
122
status: CommonStatusEnum .ENABLE
124
123
}
125
124
formRef .value ?.resetFields ()
You can’t perform that action at this time.
0 commit comments