This commit is contained in:
linfso 2024-07-30 10:06:26 +08:00
parent 78d89715f5
commit 7b8a9389d1
2 changed files with 6 additions and 7 deletions

View File

@ -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,

View File

@ -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);
}