feat:TASK617-681修正

617:属性更新時Toast表示
618:フィールドの表示件数、初期ソード順変更
その他:フローエディタの不具合修正
This commit is contained in:
xiaozhe.ma
2024-09-06 09:08:56 +09:00
parent a7783987a8
commit ad827c1dc8
10 changed files with 127 additions and 57 deletions

View File

@@ -213,6 +213,11 @@ const onDeploy = async () => {
const onSaveActionProps=(props:IActionProperty[])=>{
if(store.activeNode){
store.activeNode.actionProps=props;
$q.notify({
type: 'positive',
caption: "通知",
message: `${store.activeNode?.subTitle}の属性設定を更新しました。`
});
}
};
@@ -261,13 +266,17 @@ const onSaveAllFlow= async ()=>{
}
saveLoading.value = true;
for(const flow of targetFlows ){
const isNew = flow.id === '';
if(isNew && flow.actionNodes.length===1){
continue;
}
await store.saveFlow(flow);
$q.notify({
}
$q.notify({
type: 'positive',
caption: "通知",
message: `${flow.getRoot()?.subTitle}のフロー設定を保存しました。`
message: `すべてのフロー設定を保存しました。`
});
}
saveLoading.value = false;
}catch (error) {
console.error(error);