Skip to content

Commit

Permalink
2.22.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Dooy committed Nov 26, 2024
1 parent 639b3d5 commit b5db36b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions changlog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# 功能升级日志

# 计划
# 2.22.4
- 🐞 修复:mj shorten
- 🐞 修复:mj 图转文

# 2.22.3
- 😄 新增音乐:suno-v4
- 😄 新增gpt模型:gpt-4o-2024-11-20
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chatgpt-web-midjourney-proxy",
"version": "2.22.3",
"version": "2.22.4",
"private": false,
"description": "ChatGPT Web Midjourney Proxy",
"author": "Dooy <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "ChatGPT-MJ",
"version": "2.22.3"
"version": "2.22.4"
},
"tauri": {
"allowlist": {
Expand Down
8 changes: 6 additions & 2 deletions src/views/mj/mjText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,10 @@ watch(()=>homeStore.myData.act,(n)=>{
}
})
const text = computed(() => {
const value = props.chat.opt?.properties?.finalZhPrompt
let value = props.chat.opt?.properties?.finalZhPrompt
if(value==''){
value= props.chat.opt?.properties?.finalPrompt
}
return props.mdi.render(value)
})
Expand All @@ -238,7 +241,8 @@ load();
<div>{{ $t('mjchat.failReason') }}<p>{{ chat.opt?.failReason }}</p></div>
</div>
<template v-else-if="chat.opt?.progress">
<div v-if="chat.opt?.action=='SHORTEN'" class="markdown-body" v-html="text" >
<div v-if="chat.opt?.action=='SHORTEN'" class="markdown-body" v-html="text " >
</div>
<div v-else-if="chat.opt?.action!='IMAGINE'" class="py-2 text-[#666] whitespace-pre-wrap">{{ chat.opt?.promptEn }} (<span v-html="chat.opt?.action"></span>)</div>
Expand Down

0 comments on commit b5db36b

Please sign in to comment.