Fix ephone preview (#189)

This commit is contained in:
HCode
2025-02-23 12:35:27 +00:00
committed by GitHub
parent 3bcffb76ed
commit c68c2166d8
3 changed files with 21 additions and 2 deletions
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix preview",
"packageName": "@acedatacloud/nexior",
"email": "1348977728@qq.com",
"dependentChangeType": "patch"
}
+2 -2
View File
@@ -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() {