feat:アクション選択UI改善

This commit is contained in:
xiaozhe.ma
2024-08-20 14:49:35 +09:00
parent c723b500b3
commit 82ef3ebde0
8 changed files with 146 additions and 27 deletions

View File

@@ -41,7 +41,7 @@
</template>
</q-input>
</template>
<action-select ref="appDg" name="model" :filter="filter" type="single"></action-select>
<action-select ref="appDg" name="model" :filter="filter" type="single" @clearFilter="onClearFilter" ></action-select>
</ShowDialog>
</q-page>
@@ -198,7 +198,7 @@ const onSaveFlow = async () => {
if (targetFlow === undefined) {
$q.notify({
type: 'negative',
caption: "エラー",
caption: 'エラー',
message: `編集中のフローがありません。`
});
return;
@@ -241,6 +241,10 @@ const fetchData = async () => {
}
}
const onClearFilter=()=>{
filter.value='';
}
onMounted(() => {
authStore.toggleLeftMenu();
fetchData();