@@ -32,6 +32,13 @@ export default {
let optionData = this.option ? this.option : {};
let callbackItems={updated:this.updateEmit}
initSheet('sheet-container',optionData,this.sheetInfo,this.limit,callbackItems)
+ setTimeout(() => {
+ //获取sheet-container的宽度,设置更多操作的宽度
+ //#luckysheet-icon-morebtn-div
+ const sheetDom = document.querySelector('#sheet-container')
+ const morebtn = document.querySelector('#luckysheet-icon-morebtn-div')
+ morebtn.style.maxWidth = sheetDom.clientWidth - 70 +'px';
+ }, 300);
},
copyDisable(e){
// 变向的禁止复制