ci: 升级 vue 3.2.21

This commit is contained in:
就眠仪式 2021-11-05 01:26:20 +08:00
parent 01851fd3ac
commit e16ac685e4
4 changed files with 25 additions and 20 deletions

View File

@ -289,7 +289,7 @@ export default {
::: :::
| 属性 | 描述 | 参数 | | 属性 | 描述 | 参数 |
| ------------------------ | ---------- | -------------- | | ---------- | ------ | ------------- |
| row | 行单击 | data : 当前行 | | row | 行单击 | data : 当前行 |
| row-double | 行双击 | data : 当前行 | | row-double | 行双击 | data : 当前行 |
@ -298,5 +298,5 @@ export default {
::: :::
| 插槽 | 描述 | 默认 | | 插槽 | 描述 | 默认 |
| ------- | ------------ | --- | | ------- | ------------ | ---- |
| toolbar | 自定义工具栏 | -- | | toolbar | 自定义工具栏 | -- |

View File

@ -12,6 +12,8 @@
<lay-timeline> <lay-timeline>
<lay-timeline-item title="0.2.3"> <lay-timeline-item title="0.2.3">
[新增] table 表格 row 行单击, row-double 行双击事件。<br> [新增] table 表格 row 行单击, row-double 行双击事件。<br>
[优化] layer 弹层 border 样式。<br>
[升级] vue 3.2.21 版本。<br>
</lay-timeline-item> </lay-timeline-item>
<lay-timeline-item title="0.2.2"> <lay-timeline-item title="0.2.2">
[新增] useFullScreen 全屏 hooks。<br> [新增] useFullScreen 全屏 hooks。<br>

View File

@ -39,11 +39,11 @@
}, },
"homepage": "https://gitee.com/layui-vue/layui-vue/blob/master/README.md", "homepage": "https://gitee.com/layui-vue/layui-vue/blob/master/README.md",
"peerDependencies": { "peerDependencies": {
"vue": "^3.2.20", "vue": "^3.2.21",
"vue-router": "^4.0.11" "vue-router": "^4.0.11"
}, },
"dependencies": { "dependencies": {
"vue": "^3.2.20", "vue": "^3.2.21",
"vue-router": "^4.0.11" "vue-router": "^4.0.11"
}, },
"devDependencies": { "devDependencies": {
@ -59,7 +59,7 @@
"@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0", "@typescript-eslint/parser": "^4.33.0",
"@vitejs/plugin-vue": "^1.9.3", "@vitejs/plugin-vue": "^1.9.3",
"@vue/compiler-sfc": "^3.2.20", "@vue/compiler-sfc": "^3.2.21",
"@vue/eslint-config-prettier": "^6.0.0", "@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^7.0.0", "@vue/eslint-config-typescript": "^7.0.0",
"@vue/server-renderer": "^3.2.20", "@vue/server-renderer": "^3.2.20",

View File

@ -53,7 +53,10 @@
<table class="layui-table" :lay-size="size"> <table class="layui-table" :lay-size="size">
<tbody> <tbody>
<template v-for="data in dataSource" :key="data"> <template v-for="data in dataSource" :key="data">
<tr @click.stop="rowClick(data)" @dblclick.stop="rowDoubleClick(data)"> <tr
@click.stop="rowClick(data)"
@dblclick.stop="rowDoubleClick(data)"
>
<td v-if="checkbox" class="layui-table-col-special"> <td v-if="checkbox" class="layui-table-col-special">
<div class="layui-table-cell laytable-cell-checkbox"> <div class="layui-table-cell laytable-cell-checkbox">
<table-item-checkbox <table-item-checkbox
@ -78,7 +81,7 @@
v-else v-else
:key="index" :key="index"
> >
<td class="layui-table-cell" v-if="column.key == key"> <td v-if="column.key == key" class="layui-table-cell">
<div :style="{ width: column.width }"> <div :style="{ width: column.width }">
<span v-if="column.slot"> <span v-if="column.slot">
<slot :name="column.slot" :data="data" /> <slot :name="column.slot" :data="data" />
@ -103,10 +106,10 @@
show-skip show-skip
@jump="change" @jump="change"
> >
<template v-slot:prev <template #prev
><lay-icon type="layui-icon-left"></lay-icon ><lay-icon type="layui-icon-left"></lay-icon
></template> ></template>
<template v-slot:next <template #next
><lay-icon type="layui-icon-right"></lay-icon ><lay-icon type="layui-icon-right"></lay-icon
></template> ></template>
</lay-page> </lay-page>