s
This commit is contained in:
parent
424c9a255d
commit
e4bad2fae8
2
.env
2
.env
@ -4,7 +4,7 @@ VITE_GLOB_API_URL=/api
|
||||
VITE_APP_API_BASE_URL=http://114.218.158.24:9020
|
||||
|
||||
# Whether long replies are supported, which may result in higher API fees
|
||||
VITE_GLOB_OPEN_LONG_REPLY=false
|
||||
VITE_GLOB_OPEN_LONG_REPLY=true
|
||||
|
||||
# When you want to use PWA
|
||||
VITE_GLOB_APP_PWA=false
|
||||
|
11
package-lock.json
generated
11
package-lock.json
generated
@ -21,6 +21,7 @@
|
||||
"markdown-it": "^13.0.1",
|
||||
"naive-ui": "^2.34.3",
|
||||
"pinia": "^2.0.33",
|
||||
"postmate": "^1.5.2",
|
||||
"primeflex": "^3.3.1",
|
||||
"primeicons": "^6.0.1",
|
||||
"primevue": "^3.46.0",
|
||||
@ -9194,6 +9195,11 @@
|
||||
"integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/postmate": {
|
||||
"version": "1.5.2",
|
||||
"resolved": "https://registry.npmmirror.com/postmate/-/postmate-1.5.2.tgz",
|
||||
"integrity": "sha512-EHLlEmrUA/hALls49oBrtE7BzDXXjB9EiO4MZpsoO3R/jRuBmD+2WKQuYAbeuVEpTzrPpUTT79z2cz4qaFgPRg=="
|
||||
},
|
||||
"node_modules/prelude-ls": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
||||
@ -18649,6 +18655,11 @@
|
||||
"integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
|
||||
"dev": true
|
||||
},
|
||||
"postmate": {
|
||||
"version": "1.5.2",
|
||||
"resolved": "https://registry.npmmirror.com/postmate/-/postmate-1.5.2.tgz",
|
||||
"integrity": "sha512-EHLlEmrUA/hALls49oBrtE7BzDXXjB9EiO4MZpsoO3R/jRuBmD+2WKQuYAbeuVEpTzrPpUTT79z2cz4qaFgPRg=="
|
||||
},
|
||||
"prelude-ls": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
|
||||
|
@ -36,10 +36,11 @@
|
||||
"markdown-it": "^13.0.1",
|
||||
"naive-ui": "^2.34.3",
|
||||
"pinia": "^2.0.33",
|
||||
"postmate": "^1.5.2",
|
||||
"primeflex": "^3.3.1",
|
||||
"primeicons": "^6.0.1",
|
||||
"primevue": "^3.46.0",
|
||||
"quasar": "^2.14.2",
|
||||
"primevue": "^3.47.2",
|
||||
"quasar": "^2.14.3",
|
||||
"vite-plugin-qiankun": "^1.0.15",
|
||||
"vue": "^3.2.47",
|
||||
"vue-i18n": "^9.2.2",
|
||||
@ -69,7 +70,7 @@
|
||||
"rimraf": "^4.3.0",
|
||||
"tailwindcss": "^3.2.7",
|
||||
"typescript": "~4.9.5",
|
||||
"unplugin-auto-import": "^0.17.3",
|
||||
"unplugin-auto-import": "^0.17.5",
|
||||
"unplugin-vue-components": "^0.26.0",
|
||||
"vite": "^4.2.0",
|
||||
"vite-plugin-pwa": "^0.14.4",
|
||||
|
@ -77,10 +77,10 @@ function handleSelect(key: 'copyText' | 'delete' | 'toggleRenderType') {
|
||||
}
|
||||
}
|
||||
|
||||
function handleRegenerate() {
|
||||
/* function handleRegenerate() {
|
||||
messageRef.value?.scrollIntoView()
|
||||
emit('regenerate')
|
||||
}
|
||||
} */
|
||||
|
||||
async function handleCopy() {
|
||||
try {
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"baseUrl": ".",
|
||||
"module": "ESNext",
|
||||
"target": "ESNext",
|
||||
|
@ -48,12 +48,6 @@ export default defineConfig((env) => {
|
||||
commonjsOptions: {
|
||||
ignoreTryCatch: false,
|
||||
},
|
||||
target: 'esnext',
|
||||
lib: {
|
||||
name: 'testapp',
|
||||
entry: 'src/main.ts',
|
||||
formats: ['umd'],
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user