修改实验面板样式bug

以及其他的页面样式
20240205
e 3 years ago
parent bf18d0093b
commit 2a1d0a717f
  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)
newRoutes.push({
name: e.path,
path: e.path,
// path: e.path,
path: () => import(`@/pages/${e.path}.vue`),
meta
})

@ -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.pageX<targetDom.right&&evt.originalEvent.pageX>targetDom.left){
if(evt.originalEvent.pageY<targetDom.bottom&&evt.originalEvent.pageY>targetDom.top){
console.log(evt)

Loading…
Cancel
Save