VTable
VTable copied to clipboard
[Bug] vue语法糖写法 copySelected 无效
Version
@visactor/vue-vtable": "^1.19.3"
Link to Minimal Reproduction
const tableOptions = ref
Steps to Reproduce
const tableOptions = ref({ header: [ { field: "0", caption: "名称" }, { field: "1", caption: "年龄" }, { field: "2", caption: "性别" }, { field: "3", caption: "爱好" } ], records: new Array(1000).fill(["张三", 18, "男", "🏀"]), widthMode: "standard", frozenColCount: 1, overscrollBehavior: "none", keyboardOptions: { moveEditCellOnArrowKeys: true, copySelected: true, pasteValueToCell: true }, editor: "" // 配置一个空的编辑器,以遍能粘贴到单元格中 });
Current Behavior
当我使用vue3时 定义options后 keyboardOptions.copySelected 无效
Expected Behavior
希望给出正确的写法及原因
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
我也出现了,无法复制, "@visactor/vue-vtable": "1.17.2"
<ListTable
:options="{
columns: result.columns,
keyboardOptions: {
copySelected: true,
},
records: data,
}"
/>