Compare commits

..

4 Commits

Author SHA1 Message Date
PQZ
e770d2dc19 Merge branch 'master' of http://124.222.105.7:3000/dianliang/dl_site_nuxt 2025-08-03 16:29:45 +08:00
PQZ
30e23f6723 1 2025-08-03 16:29:39 +08:00
PQZ
08114bf087 Merge branch 'master' of http://124.222.105.7:3000/dianliang/dl_site_nuxt
# Conflicts:
#	env.js
2025-08-03 16:29:25 +08:00
PQZ
dd73217774 1 2025-07-30 14:28:27 +08:00
3 changed files with 17475 additions and 28 deletions

4
env.js
View File

@ -8,8 +8,8 @@ module.exports = {
// 开发环境 接口请求地址 (http)或(https)://www.a.com(换成你的域名)/api
dev: {
MODE: 'dev',
VUE_APP_API_URL: 'http://122.51.230.86:8099/',
// VUE_APP_API_URL: 'http://192.168.1.4:8099/',
// VUE_APP_API_URL: 'http://122.51.230.86:8099/',
VUE_APP_API_URL: 'http://localhost:8099/',
VUE_APP_WEBSOCKET: 'ws://localhost:8099/ws/asset/'
},
// 生产环境 接口请求地址 (http)或(https)://www.a.com(换成你的域名)/api 非独立部署默认为空

17497
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -111,7 +111,7 @@ export default {
this.$axios.$post('/web/chatMain', data).then((res) => {
if (res.id != null) {
this.chatMain = res;
const websocketUrl = `ws://localhost:8099/ws/asset/${fingerprintHash}`;
const websocketUrl = process.env.NUXT_ENV.VUE_APP_WEBSOCKET+`${fingerprintHash}`;
// Vuex dispatchWebSocket
this.$store.dispatch('modules/websocket/websocket_init', websocketUrl)
.then(() => {