+
{{item.content}}
@@ -60,34 +61,43 @@
},
todo: [
{
+ id: 1,
content: '开发图表组件'
},
{
+ id: 2,
content: '开发拖拽组件'
},
{
+ id: 3,
content: '开发权限测试组件'
}
],
doing: [
{
+ id: 1,
content: '开发登录注册页面'
},
{
+ id: 2,
content: '开发头部组件'
},
{
+ id: 3,
content: '开发表格相关组件'
},
{
+ id: 4,
content: '开发表单相关组件'
}
],
done:[
{
+ id: 1,
content: '初始化项目,生成工程目录,完成相关配置'
},
{
+ id: 2,
content: '开发项目整体框架'
}
]
diff --git a/src/main.js b/src/main.js
index 8bcf238..82c8c65 100644
--- a/src/main.js
+++ b/src/main.js
@@ -6,6 +6,7 @@ import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'; // 默认主题
// import '../static/css/theme-green/index.css'; // 浅绿色主题
import '../static/css/icon.css';
+import './components/common/directives';
import "babel-polyfill";
Vue.use(ElementUI, { size: 'small' });
diff --git a/src/router/index.js b/src/router/index.js
index 74bc738..6db7263 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -69,6 +69,12 @@ export default new Router({
component: resolve => require(['../components/page/DragList.vue'], resolve),
meta: { title: '拖拽列表' }
},
+ {
+ // 拖拽Dialog组件
+ path: '/dialog',
+ component: resolve => require(['../components/page/DragDialog.vue'], resolve),
+ meta: { title: '拖拽弹框' }
+ },
{
// 权限页面
path: '/permission',