diff --git a/devui/nav-sprite/src/nav-sprite-types.ts b/devui/nav-sprite/src/nav-sprite-types.ts index ef4293b0cb14a019413a1ab945211bd699a066cc..b786c855d00a3148801f5585a2e6ca4157e4e10a 100644 --- a/devui/nav-sprite/src/nav-sprite-types.ts +++ b/devui/nav-sprite/src/nav-sprite-types.ts @@ -18,11 +18,11 @@ export interface NavMenu { export const navSpriteProps = { // // 爬取目录的容器 target: { - type: HTMLElement + type: Object, }, // // 指定滚动的DOM scrollTarget: { - type: HTMLElement, + type: Object, }, // // 矫正参数 view: { diff --git a/docs/components/ripple/index.md b/docs/components/ripple/index.md index 0f7cf408c004e0cf1f7fb4f0fa1343cdfb5dc4f5..49d0cb8146175799f3803e897ac1fc690c0109a3 100644 --- a/docs/components/ripple/index.md +++ b/docs/components/ripple/index.md @@ -4,11 +4,7 @@ ### 使用 -用户 可以在组件 或者 HTML 元素上任意使用 `v-ripple` 指令 使用基本的 `v-ripple` 指令, `v-ripple` 接收 一个对象 - -
HTML元素 中使用 v-ripple
- -:::demo +:::demo 用户 可以在组件 或者 HTML 元素上任意使用 `v-ripple` 指令 使用基本的 `v-ripple` 指令, `v-ripple` 接收 一个对象 ```vue