feat: 上边距

This commit is contained in:
2023-07-21 21:48:32 +08:00
parent 88ea85a136
commit 3938e101ea
2 changed files with 4 additions and 3 deletions

View File

@ -57,7 +57,7 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div v-if="!hideAdd" w-full text-center> <div v-if="!hideAdd" w-full text-center pt-10px>
<el-button :disabled="disabled" type="primary" plain @click="add"> <el-button :disabled="disabled" type="primary" plain @click="add">
{{ addText }} {{ addText }}
</el-button> </el-button>

View File

@ -2,7 +2,7 @@
* @Author: zhaojinfeng 121016171@qq.com * @Author: zhaojinfeng 121016171@qq.com
* @Date: 2023-07-18 12:23:37 * @Date: 2023-07-18 12:23:37
* @LastEditors: zhaojinfeng 121016171@qq.com * @LastEditors: zhaojinfeng 121016171@qq.com
* @LastEditTime: 2023-07-21 03:50:54 * @LastEditTime: 2023-07-21 21:45:15
* @FilePath: \vue3\stories\UploadTable.stories.ts * @FilePath: \vue3\stories\UploadTable.stories.ts
* @Description: * @Description:
* *
@ -38,13 +38,14 @@ function request(formData: FormData) {
const meta = { const meta = {
title: '表单组件/UploadTable', title: '表单组件/UploadTable',
tags: ['autodocs'], tags: ['表单组件', 'autodocs'],
args: { args: {
accept: '.jpeg,.jpg,.png,.bmp', accept: '.jpeg,.jpg,.png,.bmp',
addText: '新增一行', addText: '新增一行',
allowDelete: true, allowDelete: true,
allowReplace: false, allowReplace: false,
disabled: false, disabled: false,
emptyText: '暂无上传文件',
hideAdd: false, hideAdd: false,
label1: '文件名称', label1: '文件名称',
label2: '图片上传', label2: '图片上传',