添加接口

This commit is contained in:
李志鹏
2025-10-23 15:11:24 +08:00
parent ac5abc454d
commit 73525c3803
10 changed files with 378 additions and 129 deletions

View File

@@ -2,7 +2,8 @@
import HeaderTitle from '@/components/HeaderTitle.vue'
import FooterNavigation from '@/components/FooterNavigation.vue'
import GenerateLoading from '@/views/asistant/components/GenerateLoading.vue'
import { ref,onMounted } from 'vue'
import { ref, onMounted } from 'vue'
import { setTryOnEffectFavorite, cancelTryOnEffectFavorite } from '@/api/workshop'
const emit = defineEmits(['viewType'])
import { useRouter } from 'vue-router'
const router = useRouter()
@@ -12,7 +13,7 @@
const loading = ref(true)
setTimeout(() => {
loading.value = false
}, 500);
}, 500)
const onSend = () => {
if (inputText.value === '') return
const text = inputText.value
@@ -75,7 +76,7 @@
</template>
<style scoped lang="less">
.loading{
.loading {
width: 100%;
margin-top: 36.6rem;
display: flex;