|
@@ -242,7 +242,7 @@ const formConfig = reactive<BasicForm>({
|
|
},
|
|
},
|
|
{
|
|
{
|
|
label: '图片',
|
|
label: '图片',
|
|
- value: [],
|
|
|
|
|
|
+ value: '',
|
|
name: 'image',
|
|
name: 'image',
|
|
type: 'image-upload',
|
|
type: 'image-upload',
|
|
slots: [
|
|
slots: [
|
|
@@ -254,18 +254,7 @@ const formConfig = reactive<BasicForm>({
|
|
},
|
|
},
|
|
{
|
|
{
|
|
label: '文件',
|
|
label: '文件',
|
|
- value: 'erp/prod/temp/1702626281947.png',
|
|
|
|
- name: 'picture',
|
|
|
|
- type: 'image-upload',
|
|
|
|
- props: {
|
|
|
|
- limit: 9,
|
|
|
|
- multiple: true
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- label: '文件',
|
|
|
|
- value:
|
|
|
|
- '[{"name":"4.png","url":"erp/prod/temp/1702626281947.png"},{"name":"background_image3.png","url":"erp/prod/temp/1702626287319.png"}]',
|
|
|
|
|
|
+ value: 'erp/prod/temp/1702626281947.png,erp/prod/temp/1702626287319.png',
|
|
name: 'file',
|
|
name: 'file',
|
|
type: 'file-upload',
|
|
type: 'file-upload',
|
|
slots: [
|
|
slots: [
|