From 1e0508f288a23402d0999f5cfbcbc23e4bcf52b6 Mon Sep 17 00:00:00 2001 From: Theluyuan <1162963624@qq.com> Date: Fri, 5 May 2023 08:34:41 +0800 Subject: [PATCH] test --- es/table/index.js | 7 +- lib/index.js | 7 +- src/component/table/soultable.vue | 5 +- umd/index.js | 108 +++++++++++++++--------------- 4 files changed, 68 insertions(+), 59 deletions(-) diff --git a/es/table/index.js b/es/table/index.js index f34d809..d66c398 100644 --- a/es/table/index.js +++ b/es/table/index.js @@ -728,6 +728,9 @@ const _sfc_main$1 = defineComponent({ } } const selshow = ref(false); + function shubiao(event) { + console.log(event); + } return (_ctx, _cache) => { return openBlock(), createElementBlock("div", { class: "soulbox", @@ -735,7 +738,7 @@ const _sfc_main$1 = defineComponent({ onClick: _cache[6] || (_cache[6] = withModifiers(() => { }, ["stop"])) }, [ - createElementVNode("ul", null, [ + createElementVNode("ul", { onMouseover: shubiao }, [ createElementVNode("li", { onClick: asc, class: "soul-sort", @@ -772,7 +775,7 @@ const _sfc_main$1 = defineComponent({ _hoisted_5$1, createTextVNode(" \u5BFC\u51FAexcel ") ]) - ]), + ], 32), withDirectives(createElementVNode("div", _hoisted_6$1, [ createVNode(_sfc_main$8, { "prefix-icon": "layui-icon-search", diff --git a/lib/index.js b/lib/index.js index 9b137a0..274836b 100644 --- a/lib/index.js +++ b/lib/index.js @@ -19152,6 +19152,9 @@ const _sfc_main$E = defineComponent({ } } const selshow = ref(false); + function shubiao(event) { + console.log(event); + } return (_ctx, _cache) => { return openBlock(), createElementBlock("div", { class: "soulbox", @@ -19159,7 +19162,7 @@ const _sfc_main$E = defineComponent({ onClick: _cache[6] || (_cache[6] = withModifiers(() => { }, ["stop"])) }, [ - createElementVNode("ul", null, [ + createElementVNode("ul", { onMouseover: shubiao }, [ createElementVNode("li", { onClick: asc, class: "soul-sort", @@ -19196,7 +19199,7 @@ const _sfc_main$E = defineComponent({ _hoisted_5$g, createTextVNode(" \u5BFC\u51FAexcel ") ]) - ]), + ], 32), withDirectives(createElementVNode("div", _hoisted_6$d, [ createVNode(_sfc_main$1w, { "prefix-icon": "layui-icon-search", diff --git a/src/component/table/soultable.vue b/src/component/table/soultable.vue index a0284a2..57cfc9a 100644 --- a/src/component/table/soultable.vue +++ b/src/component/table/soultable.vue @@ -4,7 +4,7 @@ :style="`top: ${props.top}px;left:${props.left}px`" @click.stop="" > -