Fix ephone preview (#189)
This commit is contained in:
1 parent
3bcffb76ed
commit
c68c2166d8
3 files changed
+21
-2
No files matched your search
@@ -84,8 +84,8 @@
|
||||
<div
|
||||
v-if="
|
||||
!modelValue?.response ||
|
||||
modelValue?.response?.data?.state === 'processing' ||
|
||||
modelValue?.response?.data?.state === 'pending'
|
||||
modelValue?.response?.state === 'processing' ||
|
||||
modelValue?.response?.state === 'pending'
|
||||
"
|
||||
:class="{ content: true }"
|
||||
>
|
||||
|
||||
@@ -52,6 +52,18 @@ export default defineComponent({
|
||||
prompt: val
|
||||
});
|
||||
}
|
||||
},
|
||||
instrumental: {
|
||||
get() {
|
||||
return this.$store.state.suno?.config?.instrumental;
|
||||
},
|
||||
set(val) {
|
||||
console.debug('set instrumental', val);
|
||||
this.$store.commit('suno/setConfig', {
|
||||
...this.$store.state.suno?.config,
|
||||
instrumental: val
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
Reference in new issue
Block a user