feat: 多功能更新

This commit is contained in:
2026-04-26 00:39:28 +08:00
parent abd1b03529
commit e26e2f5491
26 changed files with 992 additions and 330 deletions
+10 -2
View File
@@ -1,6 +1,9 @@
<script setup lang="ts">
import { ref } from "vue";
import { ImageService } from "~/services";
import { useUserStore } from "~/stores";
const userStore = useUserStore();
const { isOnline } = storeToRefs(userStore);
const prompt = ref("");
const imageUrl = ref("");
@@ -47,7 +50,12 @@ const generate = async () => {
:disabled="loading"
/>
<el-button type="primary" :loading="loading" @click="generate">
<el-button
type="primary"
:loading="loading"
:disabled="!isOnline"
@click="generate"
>
立即生成
</el-button>