diff --git a/docs/zh/guide/question.md b/docs/zh/guide/question.md index b4972356..f20d47d1 100644 --- a/docs/zh/guide/question.md +++ b/docs/zh/guide/question.md @@ -51,14 +51,6 @@ npm run doc:dev 在 `src/components/demo/d2-demo-page-cover/index.vue` 中删除相关代码即可 -## el-scrollbar 组件 - -el-scrollbar 组件是 ElementUI 自带的一个隐藏组件,没有写入文档,详见 [https://github.com/ElemeFE/element/issues/2238](https://github.com/ElemeFE/element/issues/2238) - -::: tip -官方解释此组件在使用的时候需要注意较多问题,不推荐使用,如果你希望自定义滚动条或者实现滚动控制,可以使用 D2Admin 已经集成的 better-scroll -::: - ## 兼容性 首先 vue.js 和 ElementUI 做不到兼容的,D2Admin 肯定也兼容不了,实测在 macOS 下 Chrome 和新版本的火狐浏览器以及 Safari 都正常使用,这类管理系统一般是内部使用,通常不必太纠结兼容低版本浏览器,如果你发现了显示的 bug,可以加 QQ 群反应,如果你可以修复这个 bug 使其在你的浏览器上显示正常,欢迎你的 pr。 diff --git a/src/menu/index.js.REMOVED.git-id b/src/menu/index.js.REMOVED.git-id index b36a004e..a25b9e17 100644 --- a/src/menu/index.js.REMOVED.git-id +++ b/src/menu/index.js.REMOVED.git-id @@ -1 +1 @@ -a5c3358c215874a8d4c65884722d34082f92646f \ No newline at end of file +1cb25eb88e2e503ea0849d3c27b9871e62e335a8 \ No newline at end of file diff --git a/src/pages/demo/components/scrollbar/index.vue b/src/pages/demo/components/scrollbar/index.vue deleted file mode 100644 index 49c7ae8b..00000000 --- a/src/pages/demo/components/scrollbar/index.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - diff --git a/src/pages/demo/components/scrollbar/md/doc.md b/src/pages/demo/components/scrollbar/md/doc.md deleted file mode 100644 index 21113513..00000000 --- a/src/pages/demo/components/scrollbar/md/doc.md +++ /dev/null @@ -1,5 +0,0 @@ -本示例演示 ElementUI 的隐藏组件 ``,详细信可以参照 [element/issues#2238](https://github.com/ElemeFE/element/issues/2238) - -> ElementUI 官网以及部分涉及滚动操作的组件内部使用了 `` 组件,虽然已经暴露到全局但是并没有相关文档介绍 - -如果你需要更高级的滚动自定义控制,D2Admin 已经集成 [better-scroll](https://github.com/ustbhuangyi/better-scroll),示例见 [自定义滚动](/#/demo/plugins/better-scroll/base),[滚动定位](/#/demo/plugins/better-scroll/to) \ No newline at end of file diff --git a/src/router/routes.js.REMOVED.git-id b/src/router/routes.js.REMOVED.git-id index e0c109c3..f8109dbf 100644 --- a/src/router/routes.js.REMOVED.git-id +++ b/src/router/routes.js.REMOVED.git-id @@ -1 +1 @@ -003fe0eab9894c5bbfc8cc4f0ad571b8dcb29ce2 \ No newline at end of file +ffe496e6ad1cc8ce892d32163b8312a4d525aeed \ No newline at end of file