diff --git a/change/@acedatacloud-nexior-962c422c-758f-4ca2-be71-acaacd71bffa.json b/change/@acedatacloud-nexior-962c422c-758f-4ca2-be71-acaacd71bffa.json new file mode 100644 index 00000000..f657a937 --- /dev/null +++ b/change/@acedatacloud-nexior-962c422c-758f-4ca2-be71-acaacd71bffa.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "add suno upload", + "packageName": "@acedatacloud/nexior", + "email": "1348977728@qq.com", + "dependentChangeType": "patch" +} diff --git a/src/components/suno/ConfigPanel.vue b/src/components/suno/ConfigPanel.vue index fe7bbaba..39650255 100644 --- a/src/components/suno/ConfigPanel.vue +++ b/src/components/suno/ConfigPanel.vue @@ -2,7 +2,7 @@
- + @@ -26,12 +26,12 @@ import { defineComponent } from 'vue'; import { ElButton } from 'element-plus'; import TypeSelector from './config/TypeSelector.vue'; +import UploadAudio from './config/UploadAudio.vue'; import PromptInput from './config/PromptInput.vue'; import LyricInput from './config/LyricInput.vue'; import StyleInput from './config/StyleInput.vue'; import TitleInput from './config/TitleInput.vue'; import ExtendFromInput from './config/ExtendFromInput.vue'; -import InstrumentSwitch from './config/InstrumentSwitch.vue'; import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'; export default defineComponent({ @@ -40,10 +40,10 @@ export default defineComponent({ TypeSelector, PromptInput, LyricInput, - InstrumentSwitch, StyleInput, TitleInput, ExtendFromInput, + UploadAudio, FontAwesomeIcon, ElButton }, @@ -72,12 +72,6 @@ export default defineComponent({ height: calc(100% - 50px); flex: 1; position: relative; - .instrument { - position: absolute; - top: 50px; - right: -10px; - z-index: 1000; - } } .actions { height: 50px; diff --git a/src/components/suno/config/InstrumentSwitch.vue b/src/components/suno/config/InstrumentSwitch.vue deleted file mode 100644 index 861924ee..00000000 --- a/src/components/suno/config/InstrumentSwitch.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - - - diff --git a/src/components/suno/config/PromptInput.vue b/src/components/suno/config/PromptInput.vue index 978df2c2..9eeb8814 100644 --- a/src/components/suno/config/PromptInput.vue +++ b/src/components/suno/config/PromptInput.vue @@ -1,9 +1,16 @@