chore: 更新

This commit is contained in:
就眠儀式 2022-04-20 09:44:03 +08:00
parent 7d2d3bd80c
commit 5bb97e9232
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@layui/layui-vue", "name": "@layui/layui-vue",
"version": "1.0.4-alpha.3", "version": "1.0.4-alpha.5",
"author": "就眠儀式", "author": "就眠儀式",
"license": "MIT", "license": "MIT",
"description": "a component library for Vue 3 base on layui-vue", "description": "a component library for Vue 3 base on layui-vue",
@ -31,7 +31,7 @@
}, },
"dependencies": { "dependencies": {
"@layui/icons-vue": "^1.0.7", "@layui/icons-vue": "^1.0.7",
"@layui/layer-vue": "^1.3.11", "@layui/layer-vue": "^1.3.12",
"@vueuse/core": "^7.6.2", "@vueuse/core": "^7.6.2",
"animate.css": "^4.1.1", "animate.css": "^4.1.1",
"async-validator": "^4.0.7", "async-validator": "^4.0.7",

View File

@ -273,7 +273,7 @@ onMounted(() => {
:style="{ :style="{
width: column.width, width: column.width,
textAlign: column.align, textAlign: column.align,
flex: column.width ? 'none' : 'auto', flex: column.width ? '0 0 auto' : '1',
}" }"
v-if="tableColumnKeys.includes(column.key)" v-if="tableColumnKeys.includes(column.key)"
> >
@ -339,7 +339,7 @@ onMounted(() => {
:style="{ :style="{
width: column.width, width: column.width,
textAlign: column.align, textAlign: column.align,
flex: column.width ? 'none' : 'auto', flex: column.width ? '0 0 auto' : '1',
}" }"
> >
<slot :name="column.customSlot" :data="data"></slot> <slot :name="column.customSlot" :data="data"></slot>
@ -357,7 +357,7 @@ onMounted(() => {
:style="{ :style="{
width: column.width, width: column.width,
textAlign: column.align, textAlign: column.align,
flex: column.width ? 'none' : 'auto', flex: column.width ? '0 0 auto' : '1',
}" }"
> >
<span> {{ value }} </span> <span> {{ value }} </span>