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>
</el-table-column>
</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">
{{ addText }}
</el-button>

View File

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