Browse Source

关于关闭title的组件如果想打开也要恢复这两个文件

master
mk 6 months ago
parent
commit
e06261e158
  1. 4
      src/controllers/resize.js
  2. 2
      src/controllers/sheetmanage.js

4
src/controllers/resize.js

@ -17,9 +17,9 @@ export default function luckysheetsizeauto(isRefreshCanvas=true) {
$("#luckysheet_info_detail").hide();
}
else {
$("#luckysheet_info_detail").show();
// $("#luckysheet_info_detail").show();
// Store.infobarHeight = 56;
Store.infobarHeight = document.querySelector('#luckysheet_info_detail').offsetHeight;
// Store.infobarHeight = document.querySelector('#luckysheet_info_detail').offsetHeight;
}
if (!!Store.toobarObject && !!Store.toobarObject.toobarElements && Store.toobarObject.toobarElements.length === 0) {

2
src/controllers/sheetmanage.js

@ -802,7 +802,7 @@ const sheetmanage = {
luckysheetcreatedom(colwidth, rowheight, data, menu, title);
setTimeout(function () {
tooltip.createHoverTip("#luckysheet_info_detail" ,".luckysheet_info_detail_back, .luckysheet_info_detail_input, .luckysheet_info_detail_update");
// tooltip.createHoverTip("#luckysheet_info_detail" ,".luckysheet_info_detail_back, .luckysheet_info_detail_input, .luckysheet_info_detail_update");
tooltip.createHoverTip("#luckysheet-wa-editor" ,".luckysheet-toolbar-menu-button, .luckysheet-toolbar-button, .luckysheet-toolbar-combo-button");
Store.luckysheetTableContentHW = [

Loading…
Cancel
Save