Commit aa513de1a486c3c193c5427fdb46b7f85cc1b231

Authored by ww
1 parent 249ce625

fix: DEFECT-684 not select virtual component can not action

... ... @@ -53,6 +53,10 @@
53 53
54 54 const handleAddComponent = async (value: Recordable) => {
55 55 try {
  56 + if (!unref(frontId)) {
  57 + createMessage.warning('请选择可视化组件');
  58 + return;
  59 + }
56 60 changeOkLoading(true);
57 61 await addDataComponent({
58 62 boardId: unref(boardId),
... ...