diff --git a/src/libs/route/addRoutes.js b/src/libs/route/addRoutes.js index ea953ee..1eb1070 100644 --- a/src/libs/route/addRoutes.js +++ b/src/libs/route/addRoutes.js @@ -15,7 +15,7 @@ function createRoute(data){ let meta = createMeta(e) newRoutes.push({ name: e.path, - path: e.path, + // path: e.path, path: () => import(`@/pages/${e.path}.vue`), meta }) diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index 55532f9..127be17 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -830,6 +830,7 @@ export default { // console.log(refParamBox,'目标dom',refParamBox.getBoundingClientRect()); // 判断拖拽的地址 let targetDom = that.$refs.goods.getBoundingClientRect() + console.log(evt.oldIndex) if(evt.originalEvent.pageXtargetDom.left){ if(evt.originalEvent.pageYtargetDom.top){ console.log(evt)