|
|
@@ -245,7 +245,13 @@ const formConfig = reactive<BasicForm>({
|
|
|
label: '图片',
|
|
|
value: [],
|
|
|
name: 'image',
|
|
|
- type: 'image-upload'
|
|
|
+ type: 'image-upload',
|
|
|
+ slots: [
|
|
|
+ {
|
|
|
+ name: 'tip',
|
|
|
+ alias: 'tip'
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
label: '文件',
|
|
|
@@ -335,6 +341,9 @@ const handleInputConfirm = () => {
|
|
|
<template #file>
|
|
|
<el-button type="primary">上传文件</el-button>
|
|
|
</template>
|
|
|
+ <template #tip>
|
|
|
+ <div><el-text>请上传750*450px 的图片</el-text></div>
|
|
|
+ </template>
|
|
|
|
|
|
<template #password>
|
|
|
<el-input type="password" name="password" v-model="formData.password" placeholder="请输入密码"></el-input>
|