Merge branch 'master' of ssh://git.czcyedu.com:222/huoran/FE_bankTeaching into master

20240205
luoJunYong.123 3 years ago
commit 3bf025091c
  1. 2
      src/libs/route/addRoutes.js
  2. 1
      src/pages/counter/list/index.vue

@ -15,7 +15,7 @@ function createRoute(data){
let meta = createMeta(e) let meta = createMeta(e)
newRoutes.push({ newRoutes.push({
name: e.path, name: e.path,
path: e.path, // path: e.path,
path: () => import(`@/pages/${e.path}.vue`), path: () => import(`@/pages/${e.path}.vue`),
meta meta
}) })

@ -830,6 +830,7 @@ export default {
// console.log(refParamBox,'dom',refParamBox.getBoundingClientRect()); // console.log(refParamBox,'dom',refParamBox.getBoundingClientRect());
// //
let targetDom = that.$refs.goods.getBoundingClientRect() let targetDom = that.$refs.goods.getBoundingClientRect()
console.log(evt.oldIndex)
if(evt.originalEvent.pageX<targetDom.right&&evt.originalEvent.pageX>targetDom.left){ if(evt.originalEvent.pageX<targetDom.right&&evt.originalEvent.pageX>targetDom.left){
if(evt.originalEvent.pageY<targetDom.bottom&&evt.originalEvent.pageY>targetDom.top){ if(evt.originalEvent.pageY<targetDom.bottom&&evt.originalEvent.pageY>targetDom.top){
console.log(evt) console.log(evt)

Loading…
Cancel
Save