From 4b2f11c2274fc6d10684d3e5a6f59ab56800396c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com>
Date: Sat, 22 Oct 2022 15:39:48 +0800
Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(component):=20update?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package/component/package.json | 2 +-
.../src/component/table/TableRow.vue | 41 +++++++++++++++----
.../component/src/component/table/index.vue | 18 ++++----
3 files changed, 44 insertions(+), 17 deletions(-)
diff --git a/package/component/package.json b/package/component/package.json
index 65c88c92..3d8da92a 100644
--- a/package/component/package.json
+++ b/package/component/package.json
@@ -1,6 +1,6 @@
{
"name": "@layui/layui-vue",
- "version": "1.7.0-dev.4",
+ "version": "1.7.0-dev.19",
"author": "就眠儀式",
"license": "MIT",
"description": "a component library for Vue 3 base on layui-vue",
diff --git a/package/component/src/component/table/TableRow.vue b/package/component/src/component/table/TableRow.vue
index 48c5ec07..e2ab0b96 100644
--- a/package/component/src/component/table/TableRow.vue
+++ b/package/component/src/component/table/TableRow.vue
@@ -512,12 +512,25 @@ const radioProps = props.getRadioProps(props.data, props.index);
>
-
+
-
+
-
+
@@ -622,11 +635,25 @@ const radioProps = props.getRadioProps(props.data, props.index);
v-model:selectedKeys="tableSelectedKeys"
v-model:selectedKey="tableSelectedKey"
>
-
-
+
+
-
-
+
+
diff --git a/package/component/src/component/table/index.vue b/package/component/src/component/table/index.vue
index 2ddcf96a..b8979a33 100644
--- a/package/component/src/component/table/index.vue
+++ b/package/component/src/component/table/index.vue
@@ -840,12 +840,12 @@ onBeforeUnmount(() => {
:defaultExpandAll="defaultExpandAll"
:getCheckboxProps="getCheckboxProps"
:getRadioProps="getRadioProps"
- @row="rowClick"
- @row-double="rowDoubleClick"
- @row-contextmenu="rowContextmenu"
v-model:expandKeys="tableExpandKeys"
v-model:selectedKeys="tableSelectedKeys"
v-model:selectedKey="tableSelectedKey"
+ @row="rowClick"
+ @row-double="rowDoubleClick"
+ @row-contextmenu="rowContextmenu"
>
@@ -901,15 +901,15 @@ onBeforeUnmount(() => {