diff --git a/docs/guide/config.md b/docs/guide/config.md index d1ea88f22..10f49580f 100644 --- a/docs/guide/config.md +++ b/docs/guide/config.md @@ -464,8 +464,8 @@ Note that you also need to configure `loadUrl` and `loadSheetUrl` to take effect |deleteRow|Delete selected row|Delete selected row|-|-| |deleteColumn|Delete selected column|-|Delete selected column|Delete selected column| |deleteCell|Delete cell|-|-|-| - |hideRow|Hide the selected row and show the selected row|Hide the selected row and show the selected row|-|-| - |hideColumn|Hide the selected column and show the selected column|-|Hide the selected column and show the selected column|Hide the selected column and show the selected column| + |hideRow|-|Hide the selected row and show the selected row|-|-| + |hideColumn|-|-|Hide the selected column and show the selected column|Hide the selected column and show the selected column| |rowHeight|-|row height|-|-| |columnWidth|-|-|Column Width|Column Width| |clear|clear content|clear content|clear content|-| @@ -481,8 +481,6 @@ Note that you also need to configure `loadUrl` and `loadSheetUrl` to take effect ------------ ### sheetRightClickConfig -[todo] - - Type: Object - Default: {} - Usage: Customize the right-click menu of the bottom sheet bar @@ -493,10 +491,8 @@ Note that you also need to configure `loadUrl` and `loadSheetUrl` to take effect copy: false, //Copy rename: false, //Rename color: false, //Change color - hide: false, //Hide - show: false, //Unhide - left: false, //Move to the left - right: false //Move to the right + hide: false, //Hide, unhide + move: false, //Move to the left, move to the right } ------------ diff --git a/docs/zh/guide/config.md b/docs/zh/guide/config.md index 40494e6c9..3fdfa2ed8 100644 --- a/docs/zh/guide/config.md +++ b/docs/zh/guide/config.md @@ -551,8 +551,9 @@ Luckysheet开放了更细致的自定义配置选项,分别有 |insertColumn|插入列|-|向左增加N列,向右增加N列|向左增加N列,向右增加N列| |deleteRow|删除选中行|删除选中行|-|-| |deleteColumn|删除选中列|-|删除选中列|删除选中列| - |hideRow|隐藏选中行和显示选中行|隐藏选中行和显示选中行|-|-| - |hideColumn|隐藏选中列和显示选中列|-|隐藏选中列和显示选中列|隐藏选中列和显示选中列| + |deleteCell|删除单元格|-|-|-| + |hideRow|-|隐藏选中行和显示选中行|-|-| + |hideColumn|-|-|隐藏选中列和显示选中列|隐藏选中列和显示选中列| |rowHeight|-|行高|-|-| |columnWidth|-|-|列宽|列宽| |clear|清除内容|清除内容|清除内容|-| @@ -569,8 +570,6 @@ Luckysheet开放了更细致的自定义配置选项,分别有 ------------ ### sheetRightClickConfig -[todo] - - 类型:Object - 默认值:{} - 作用:自定义配置sheet页右击菜单 @@ -581,10 +580,8 @@ Luckysheet开放了更细致的自定义配置选项,分别有 copy: false, // 复制 rename: false, //重命名 color: false, //更改颜色 - hide: false, //隐藏 - show: false, //取消隐藏 - left: false, //向左移 - right: false //向右移 + hide: false, //隐藏,取消隐藏 + move: false, //向左移,向右移 } ------------ diff --git a/src/controllers/constant.js b/src/controllers/constant.js index 9f755cd90..f1e018634 100644 --- a/src/controllers/constant.js +++ b/src/controllers/constant.js @@ -623,33 +623,55 @@ const sheetHTML = '