|
@@ -91,6 +91,30 @@ const resetOb = ref({
|
|
|
menu: false, //sheet管理菜单
|
|
|
sheet: false, //sheet页显示
|
|
|
},
|
|
|
+ cellRightClickConfig: {
|
|
|
+ //右键单元格菜单设置
|
|
|
+ copy: true, // 复制
|
|
|
+ copyAs: true, // 复制为
|
|
|
+ paste: true, // 粘贴
|
|
|
+ insertRow: true, // 插入行
|
|
|
+ insertColumn: true, // 插入列
|
|
|
+ deleteRow: true, // 删除选中行
|
|
|
+ deleteColumn: true, // 删除选中列
|
|
|
+ deleteCell: true, // 删除单元格
|
|
|
+ hideRow: true, // 隐藏选中行和显示选中行
|
|
|
+ hideColumn: true, // 隐藏选中列和显示选中列
|
|
|
+ rowHeight: true, // 行高
|
|
|
+ columnWidth: true, // 列宽
|
|
|
+ clear: true, // 清除内容
|
|
|
+ matrix: true, // 矩阵操作选区
|
|
|
+ sort: true, // 排序选区
|
|
|
+ filter: true, // 筛选选区
|
|
|
+ chart: true, // 图表生成
|
|
|
+ image: true, // 插入图片
|
|
|
+ link: true, // 插入链接
|
|
|
+ data: true, // 数据验证
|
|
|
+ cellFormat: true, // 设置单元格格式
|
|
|
+ },
|
|
|
data: null,
|
|
|
});
|
|
|
//设置第一个sheet
|