diff --git a/src/iscs_new/plugins/shapeContextMenu/entry.vue b/src/iscs_new/plugins/shapeContextMenu/entry.vue index 9d704ef0e..f37274d7d 100644 --- a/src/iscs_new/plugins/shapeContextMenu/entry.vue +++ b/src/iscs_new/plugins/shapeContextMenu/entry.vue @@ -47,14 +47,14 @@ export default { handler: this.doCopy, disabledCb: selected => { const storage = this.$iscs.getController().getStorage(); - return storage.values().length <= 0; + return !storage.values().length; } }, { label: '粘贴', handler: this.doParse, disabledCb: selected => { - return this.clipboardList.length; + return !this.clipboardList.length; } } ] diff --git a/src/views/iscs_new/components/tableForm.vue b/src/views/iscs_new/components/tableForm.vue new file mode 100644 index 000000000..c30613d62 --- /dev/null +++ b/src/views/iscs_new/components/tableForm.vue @@ -0,0 +1,97 @@ + + + 添加 + + + + + + + {{ 111 }} + + + + + + + + + + + + + + + + + + + + + 删除 + + + + + + + + +