From 7b8a9389d16131362f3d3ac4686c6b84ce71192f Mon Sep 17 00:00:00 2001 From: linfso Date: Tue, 30 Jul 2024 10:06:26 +0800 Subject: [PATCH] md --- src/components/Pagination/index.vue | 2 +- src/components/XdTable/index.vue | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue index 704f04b4..56f5a6b9 100644 --- a/src/components/Pagination/index.vue +++ b/src/components/Pagination/index.vue @@ -42,7 +42,7 @@ export default { // 移动端页码按钮的数量端默认值5 pagerCount: { type: Number, - default: document.body.clientWidth < 992 ? 3 : 4 + default: document.body.clientWidth < 992 ? 5 : 7 }, layout: { type: String, diff --git a/src/components/XdTable/index.vue b/src/components/XdTable/index.vue index dc2349f6..08dfac9f 100644 --- a/src/components/XdTable/index.vue +++ b/src/components/XdTable/index.vue @@ -266,11 +266,10 @@ export default { if(evt.button == 2){ flag=false; if(vnode.context.multipleSelection&&vnode.context.multipleSelection.length>0){ - vnode.context.currentOdiv=oDiv; + // vnode.context.currentOdiv=oDiv; + vnode.context.currentOdiv=tbBodyDiv; vnode.context.currentCell=evt.target; - showContextMenu(evt); - const currentCellInfo=getCellPosition(evt.target); vnode.context.currentCellInfo=currentCellInfo; @@ -689,7 +688,7 @@ export default { tagId:this.saveStorageName }; - console.log("===>initTbShowlList=1111=>"); + // console.log("===>initTbShowlList=1111=>"); this.storeTplList=[]; listSysCustomizeTpl(queryParams).then(response => { if(response.rows&&response.rows.length>0){ @@ -701,8 +700,8 @@ export default { this.curentTbShowTpl=selTplItem.tplCode; } - console.log("===>initTbShowlList=2222=>",this.storeTplList); - console.log("===>this.curentTbShowTpl=2222=>",this.curentTbShowTpl); + // console.log("===>initTbShowlList=2222=>",this.storeTplList); + // console.log("===>this.curentTbShowTpl=2222=>",this.curentTbShowTpl); }