diff --git a/src/views/Workshop/selectStyle.vue b/src/views/Workshop/selectStyle.vue index 69a5efa..d9ae79c 100644 --- a/src/views/Workshop/selectStyle.vue +++ b/src/views/Workshop/selectStyle.vue @@ -24,14 +24,14 @@ const hGenerateStore = useHGenerateStore() const query = computed(() => route.query) const isHistoryFlow = computed(() => IsHistoryFlow(query.value.flowType)) const isLoading = ref(false) -const loadingTitle= ref('Analyzing the Outfit...') -// const loadingTitle = computed(()=>{ -// let str = '' -// if(!select.value.status)str = 'Analyzing the Outfit...' -// if(select.value.status == 'RUNNING')str = 'Generating Results...' -// if(select.value.status == 'PENDING')str = 'Almost there...' -// return str -// }) +// const loadingTitle= ref('Analyzing the Outfit...') +const loadingTitle = computed(()=>{ + let str = '' + if(!select.value.status)str = 'Analyzing the Outfit...' + if(select.value.status == 'RUNNING')str = 'Generating Results...' + if(select.value.status == 'PENDING')str = 'Almost there...' + return str +}) let data = reactive({ select:computed(()=>generateStore.style),