diff --git a/package.json b/package.json index 370008be..f8c03140 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ray-template", "private": true, - "version": "3.0.0", + "version": "3.0.1", "type": "module", "scripts": { "dev": "vite", diff --git a/src/views/table/index.tsx b/src/views/table/index.tsx index 845cd16e..18868192 100644 --- a/src/views/table/index.tsx +++ b/src/views/table/index.tsx @@ -156,58 +156,66 @@ const TableView = defineComponent({

该组件可以配合 RayCollapseGird 组件使用实现可折叠搜索栏

- - - 该组件基于 NGird 实现, 但是由于 css grid 限制, 不能对于 NGridItem - 组件进行二次封装, 所以使用时必须配合 NGirdItem - 使用才能实现示例效果(使用 NGirdItem 包裹元素即可). - - - - 数量 - - - 行数 - - - - window.$message.info( - `我是 RayCollapseGrid 组件${value ? '收起' : '展开'}的回调函数`, - ) - } - > - {{ - action: () => ( - <> - 搜索 - 重置 - - ), - default: () => ( - <> - - - - - - - - - - - - - - - - - ), - }} - - + + {{ + default: () => ( + + + 该组件基于 NGird 实现, 但是由于 css grid 限制, 不能对于 + NGridItem 组件进行二次封装, 所以使用时必须配合 NGridItem + 使用才能实现示例效果(使用 NGridItem 包裹元素即可). + + + + 数量 + + + 行数 + + + + window.$message.info( + `我是 RayCollapseGrid 组件${ + value ? '收起' : '展开' + }的回调函数`, + ) + } + > + {{ + action: () => ( + <> + 搜索 + 重置 + + ), + default: () => ( + <> + + + + + + + + + + + + + + + + + ), + }} + + + ), + }} +