feat: upgrade to 0.15.1 (#154)

* feat: upgrade to 0.15.1

* chore: fix form style

Co-authored-by: Uyarn <uyarnchen@gmail.com>
This commit is contained in:
PY 2022-05-23 16:48:06 +08:00 committed by GitHub
parent 3244c18a8d
commit b7f80c31cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 5 deletions

View File

@ -25,7 +25,7 @@
"pinia": "^2.0.11",
"qrcode.vue": "^3.2.2",
"tdesign-icons-vue-next": "^0.0.6",
"tdesign-vue-next": "~0.14.0",
"tdesign-vue-next": "^0.15.1",
"tvision-color": "^1.3.1",
"vue": "^3.2.31",
"vue-clipboard3": "^2.0.0",

View File

@ -15,7 +15,7 @@
<!-- 表单内容 -->
<!-- 合同名称,合同类型 -->
<t-row class="row-gap" :gutter="[16, 0]">
<t-row class="row-gap" :gutter="[16, 24]">
<t-col :span="6">
<t-form-item label="合同名称" name="name">
<t-input v-model="formData.name" :style="{ width: '322px' }" placeholder="请输入内容" />

View File

@ -15,7 +15,6 @@
</t-input>
</div>
</t-row>
<!-- 如果开启多标签tab页 请修改offsetTop的配置 -->
<t-table
:data="data"
:columns="COLUMNS"

View File

@ -1,9 +1,17 @@
<template>
<div class="list-common-table">
<t-form ref="form" :data="formData" :label-width="80" colon @reset="onReset" @submit="onSubmit">
<t-form
ref="form"
:data="formData"
:label-width="80"
colon
:style="{ marginBottom: '8px' }"
@reset="onReset"
@submit="onSubmit"
>
<t-row>
<t-col :span="10">
<t-row :gutter="[16]">
<t-row :gutter="[16, 24]">
<t-col :flex="1">
<t-form-item label="合同名称" name="name">
<t-input