更
This commit is contained in:
@ -31,7 +31,7 @@
|
||||
<MOSTY.Date v-else-if="item.type == 'date'" :type="item.lx ? item.lx : 'date'" width="100%" clearable
|
||||
v-model="listQuery[item.prop]" />
|
||||
<!-- 上传 upload limit:'限制张数'-->
|
||||
<MOSTY.Upload v-else-if="item.type == 'upload'" :isImg="item.isImg" :limit="item.limit" width="100%"
|
||||
<MOSTY.Upload v-else-if="item.type == 'upload'" :showBtn="item.showBtn" :isImg="item.isImg" :limit="item.limit" width="100%"
|
||||
v-model="listQuery[item.prop]" />
|
||||
<!--选择checkbox -->
|
||||
<MOSTY.CheckBox v-else-if="item.type == 'checkbox'" width="100%" clearable v-model="listQuery[item.prop]"
|
||||
|
||||
@ -36,7 +36,7 @@ const formList = reactive([
|
||||
{ label: "视频标题", prop: "spbt", type: "input" },
|
||||
],
|
||||
[
|
||||
{ label: "附件", prop: "fjid", type: "upload"},
|
||||
{ label: "附件", prop: "fjid", type: "upload",isImg:false,showBtn:true,limit:2 },
|
||||
],
|
||||
])
|
||||
|
||||
@ -65,6 +65,7 @@ const save = () => {
|
||||
}
|
||||
const close = () => {
|
||||
dialogForm.value = false;
|
||||
listQuery.value.fjid = []
|
||||
FormRef.value.reset()
|
||||
};;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user