Auto Commit

上级 dfe5009e
......@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<link rel="icon" href="https://csdn-665-inscode.s3.cn-north-1.jdcloud-oss.com/inscode/202307/anonymous/1688436360645-09755384-VMG9VSsOi4FZl8WOUxmIxdojCO1Jy0wY/avatar" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>
......
......@@ -270,6 +270,7 @@ export default {
}
},
query() {
debugger
if (this.loading) {
MessagePlugin.warning({ content: '正在执行中,请稍等!', placement: 'center' })
return
......@@ -306,6 +307,7 @@ export default {
},
draw () {
this.loading = true
const currentMsg = {
"user": "AI", "message": '', img: null, viewMode: 'image'
}
......@@ -321,7 +323,6 @@ export default {
messages.push(currentMsg)
this.loading = true
// this.prompt = ''
this.scrollBottom()
const config = JSON.parse(JSON.stringify(this.config))
......@@ -480,6 +481,7 @@ export default {
handleSDServerTypeChange (type) {
if (type === 'common') {
debugger
this.sdServerUrl = this.config.common_sd_api
}
this.saveConfig()
......@@ -496,6 +498,13 @@ export default {
const data = Config.getData().data
this.name = data.name
document.title = this.name
if (data.ext) {
this.config.common_sd_api = data.ext.common_sd_api
}
} else {
this.getAppInfo()
......
......@@ -20,7 +20,7 @@ export default {
"prompt_template":"",
"api_prompt_prefix":"",
"show_profile_setting":false,
"common_sd_api": "https://api.quickapi.cloud/test/common/sd/",
"common_sd_api": "https://gpu-pod64a7c569f3b1573a4ae257e1-6006.node.inscode.run",
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册