From c8160867bee692129effbf0b448125c1f7121766 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Wed, 26 Feb 2020 17:20:49 +0800 Subject: [PATCH] docs: updatedoc --- build/dev.js | 4 ++- components/tree/demo/index.vue | 22 +++++++------- site/components/api.vue | 2 +- site/components/demoBox.vue | 1 + site/components/demoSort.jsx | 49 +++++++++++++++++++++++++++++++ site/components/layout.vue | 6 +--- site/index.js | 2 ++ site/theme/static/responsive.less | 2 +- 8 files changed, 70 insertions(+), 18 deletions(-) create mode 100644 site/components/demoSort.jsx diff --git a/build/dev.js b/build/dev.js index 0d0a3e0d8..3f64931a0 100644 --- a/build/dev.js +++ b/build/dev.js @@ -28,7 +28,6 @@ let { componentName } = require('./config').dev; const componentsInPrototype = ['Modal', 'message', 'notification']; const MAIN_TEMPLATE = `import 'babel-polyfill'; -import './index.less'; import 'highlight.js/styles/solarized-light.css'; import Vue from 'vue'; import Vuex from 'vuex'; @@ -38,6 +37,7 @@ import VueClipboard from 'vue-clipboard2'; import Md from './components/md'; import Api from './components/api'; import demoBox from './components/demoBox'; +import demoSort from './components/demoSort'; import demoContainer from './components/demoContainer'; import Modal from '../components/modal'; import message from '../components/message'; @@ -50,6 +50,7 @@ import '../components/notification/style'; import Test from '../components/{{name}}/demo/index.vue'; import zhCN from './theme/zh-CN'; import enUS from './theme/en-US'; +import './index.less'; Vue.use(Vuex); Vue.use(VueClipboard); @@ -58,6 +59,7 @@ Vue.use(VueI18n); Vue.component(Md.name, Md); Vue.component(Api.name, Api); Vue.component('demo-box', demoBox); +Vue.component('demo-sort', demoSort); Vue.component('demo-container', demoContainer); Vue.prototype.$message = message; diff --git a/components/tree/demo/index.vue b/components/tree/demo/index.vue index 246c0c1d5..64320521f 100644 --- a/components/tree/demo/index.vue +++ b/components/tree/demo/index.vue @@ -37,16 +37,18 @@ export default { return (
- - - - - - - - - - + + + + + + + + + + + +