ci: 升级 vue 3.2.21
This commit is contained in:
parent
01851fd3ac
commit
e16ac685e4
@ -289,7 +289,7 @@ export default {
|
||||
:::
|
||||
|
||||
| 属性 | 描述 | 参数 |
|
||||
| ------------------------ | ---------- | -------------- |
|
||||
| ---------- | ------ | ------------- |
|
||||
| row | 行单击 | data : 当前行 |
|
||||
| row-double | 行双击 | data : 当前行 |
|
||||
|
||||
@ -298,5 +298,5 @@ export default {
|
||||
:::
|
||||
|
||||
| 插槽 | 描述 | 默认 |
|
||||
| ------- | ------------ | --- |
|
||||
| ------- | ------------ | ---- |
|
||||
| toolbar | 自定义工具栏 | -- |
|
||||
|
@ -12,6 +12,8 @@
|
||||
<lay-timeline>
|
||||
<lay-timeline-item title="0.2.3">
|
||||
[新增] table 表格 row 行单击, row-double 行双击事件。<br>
|
||||
[优化] layer 弹层 border 样式。<br>
|
||||
[升级] vue 3.2.21 版本。<br>
|
||||
</lay-timeline-item>
|
||||
<lay-timeline-item title="0.2.2">
|
||||
[新增] useFullScreen 全屏 hooks。<br>
|
||||
|
@ -39,11 +39,11 @@
|
||||
},
|
||||
"homepage": "https://gitee.com/layui-vue/layui-vue/blob/master/README.md",
|
||||
"peerDependencies": {
|
||||
"vue": "^3.2.20",
|
||||
"vue": "^3.2.21",
|
||||
"vue-router": "^4.0.11"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.2.20",
|
||||
"vue": "^3.2.21",
|
||||
"vue-router": "^4.0.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
@ -59,7 +59,7 @@
|
||||
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
||||
"@typescript-eslint/parser": "^4.33.0",
|
||||
"@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-typescript": "^7.0.0",
|
||||
"@vue/server-renderer": "^3.2.20",
|
||||
|
@ -53,7 +53,10 @@
|
||||
<table class="layui-table" :lay-size="size">
|
||||
<tbody>
|
||||
<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">
|
||||
<div class="layui-table-cell laytable-cell-checkbox">
|
||||
<table-item-checkbox
|
||||
@ -78,7 +81,7 @@
|
||||
v-else
|
||||
: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 }">
|
||||
<span v-if="column.slot">
|
||||
<slot :name="column.slot" :data="data" />
|
||||
@ -103,10 +106,10 @@
|
||||
show-skip
|
||||
@jump="change"
|
||||
>
|
||||
<template v-slot:prev
|
||||
<template #prev
|
||||
><lay-icon type="layui-icon-left"></lay-icon
|
||||
></template>
|
||||
<template v-slot:next
|
||||
<template #next
|
||||
><lay-icon type="layui-icon-right"></lay-icon
|
||||
></template>
|
||||
</lay-page>
|
||||
|
Loading…
Reference in New Issue
Block a user