From f8ed5ae84a2b79d29947fb8ea29e63eea353b771 Mon Sep 17 00:00:00 2001 From: Dooy Date: Mon, 8 Jul 2024 14:39:01 +0800 Subject: [PATCH] v2.19.3 --- .env | 4 ++-- changlog.md | 3 +++ package.json | 2 +- src-tauri/tauri.conf.json | 2 +- src/views/viggle/dcInput.vue | 12 ++++++++---- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.env b/.env index fcad933049..fb7ec9a7cd 100644 --- a/.env +++ b/.env @@ -1,8 +1,8 @@ # Glob API URL VITE_GLOB_API_URL=/api -VITE_APP_API_BASE_URL=http://127.0.0.1:3002 -#VITE_APP_API_BASE_URL=http://www.baidu.com +#VITE_APP_API_BASE_URL=http://127.0.0.1:3002 +VITE_APP_API_BASE_URL=http://192.168.31.186:3002 # Whether long replies are supported, which may result in higher API fees VITE_GLOB_OPEN_LONG_REPLY=false diff --git a/changlog.md b/changlog.md index ea436690d0..de3c8f8178 100644 --- a/changlog.md +++ b/changlog.md @@ -1,6 +1,9 @@ # 功能升级日志 # 计划 +# 2.19.3 +- 🐞 修复:viggle个人上传视频无效 + # 2.19.2 - 😄 新增:跳舞视频viggle模块 diff --git a/package.json b/package.json index c38cb16189..75258b11ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chatgpt-web-midjourney-proxy", - "version": "2.19.2", + "version": "2.19.3", "private": false, "description": "ChatGPT Web Midjourney Proxy", "author": "Dooy ", diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index e7eadbb163..73aac0887f 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "ChatGPT-MJ", - "version": "2.19.2" + "version": "2.19.3" }, "tauri": { "allowlist": { diff --git a/src/views/viggle/dcInput.vue b/src/views/viggle/dcInput.vue index aa36039c37..cdee791061 100644 --- a/src/views/viggle/dcInput.vue +++ b/src/views/viggle/dcInput.vue @@ -6,10 +6,10 @@ import {SvgIcon} from '@/components/common' import dcTemple from "./dcTemple.vue" import { homeStore } from '@/store'; import { mlog, upImg } from '@/api'; -import { FeedViggleTask, ViggleTemplate ,getUrl, viggleFetch } from '@/api/viggle'; +import { FeedViggleTask, ViggleTemplate , viggleFetch } from '@/api/viggle'; import { t } from '@/locales'; -const f= ref({ "imageID": "", "bgMode": 2, "modelInfoID": 3,"templateID": "" }) +const f= ref({ "imageID": "", "bgMode": 2, "modelInfoID": 3,"templateID": "","videoID":'' }) const st= ref({isDo:false,showImg:false,q:'',imgSrc:'',vgSrc:'',vgCoverURL:''}) const useTem= ref() const fsRef= ref() ; @@ -41,16 +41,18 @@ const search=()=>{ } const canPost= computed(()=>{ - return f.value.templateID && f.value.imageID + return (f.value.templateID|| f.value.videoID) && f.value.imageID }) const clear=(type:number)=>{ if(type==1){ useTem.value=undefined f.value.templateID='' + f.value.videoID='' }else if(type==3){ useTem.value=undefined f.value.templateID='' + f.value.videoID='' st.value.vgSrc='' st.value.vgCoverURL='' }else{ @@ -67,7 +69,8 @@ async function selectFileVideo(input:any){ mlog("d Video", d ) if(d.data ) { if( d.data.id ) { - f.value.templateID= d.data.id + f.value.videoID= d.data.id + f.value.templateID='' st.value.vgCoverURL= d.data.coverURL st.value.vgSrc= d.data.url } @@ -110,6 +113,7 @@ watch(()=>homeStore.myData.act, (n)=>{ useTem.value= homeStore.myData.actData as ViggleTemplate st.value.showImg=false f.value.templateID= useTem.value.id + f.value.videoID= '' } })