Fix ephone preview (#189)
This commit is contained in:
1 parent
3bcffb76ed
commit
c68c2166d8
3 files changed
+21
-2
No files matched your search
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"type": "patch",
|
||||||
|
"comment": "fix preview",
|
||||||
|
"packageName": "@acedatacloud/nexior",
|
||||||
|
"email": "1348977728@qq.com",
|
||||||
|
"dependentChangeType": "patch"
|
||||||
|
}
|
||||||
@@ -84,8 +84,8 @@
|
|||||||
<div
|
<div
|
||||||
v-if="
|
v-if="
|
||||||
!modelValue?.response ||
|
!modelValue?.response ||
|
||||||
modelValue?.response?.data?.state === 'processing' ||
|
modelValue?.response?.state === 'processing' ||
|
||||||
modelValue?.response?.data?.state === 'pending'
|
modelValue?.response?.state === 'pending'
|
||||||
"
|
"
|
||||||
:class="{ content: true }"
|
:class="{ content: true }"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -52,6 +52,18 @@ export default defineComponent({
|
|||||||
prompt: val
|
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() {
|
mounted() {
|
||||||
|
|||||||
Reference in new issue
Block a user