suno add new function for merging full songs and upload custom music

This commit is contained in:
RockYang
2024-08-30 16:46:48 +08:00
parent c6bf54fd9d
commit d7564127d2
17 changed files with 266 additions and 53 deletions

View File

@@ -33,11 +33,10 @@
</template>
<script setup>
import {onMounted, ref, watch} from "vue";
import {httpGet, httpPost} from "@/utils/http";
import {onMounted, ref} from "vue";
import {httpGet} from "@/utils/http";
import {ElMessage} from "element-plus";
import {dateFormat} from "@/utils/libs";
import {DocumentCopy} from "@element-plus/icons-vue";
import Clipboard from "clipboard";
const items = ref([])
@@ -60,7 +59,7 @@ onMounted(() => {
// 获取数据
const fetchData = () => {
httpPost('/api/invite/list', {page: page.value, page_size: pageSize.value}).then((res) => {
httpGet('/api/invite/list', {page: page.value, page_size: pageSize.value}).then((res) => {
if (res.data) {
items.value = res.data.items
total.value = res.data.total