diff --git a/.gitignore b/.gitignore index d95b65a..285114c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ node_modules /dist /.svn +/DataV # local env files .env.local @@ -20,3 +21,5 @@ yarn-error.log* *.njsproj *.sln *.sw* + + diff --git a/.svn/wc.db b/.svn/wc.db index c5dff7a..2f0695c 100644 Binary files a/.svn/wc.db and b/.svn/wc.db differ diff --git a/src/components/polylineChart/index.vue b/src/components/polylineChart/index.vue index 27b5774..a1b3fa3 100644 --- a/src/components/polylineChart/index.vue +++ b/src/components/polylineChart/index.vue @@ -1,304 +1,230 @@ + + diff --git a/src/views/demo/document.vue b/src/views/demo/document.vue index 41025a8..7e86d32 100644 --- a/src/views/demo/document.vue +++ b/src/views/demo/document.vue @@ -8,22 +8,17 @@
使用
-
你需要将如下文件复制至你的项目内
-
./src/plugins
-
./src/components
-
./src/config
-
并在main.js中引入plugins和components
+
你需要将DataV文件夹复制至你的项目内
+
并在main.js中引入使用
// main.js -import datavComponents from './components/index.js' -import datavPlugins from './plugin/index.js' +import dataV from './DataV/index.js' -Vue.use(datavComponents) -Vue.use(datavPlugins) +Vue.use(dataV) // 可以直接在Views文件夹下的dataView页面直接编写页面 -// dataView页面已做全屏缩放处理 roterPath: #/datav/view +// dataView页面已做全屏缩放处理 routerPath: #/datav/view
组件具体用法见示例