7.10(优化

This commit is contained in:
Hong
2024-07-10 09:59:57 +08:00
parent 260bd90b26
commit f78d8ddb9a
2 changed files with 6 additions and 2 deletions

View File

@@ -2,10 +2,10 @@
module.exports = {
//正式
// baseUrl: 'https://cms.diyouzhijia.com/car_app_api',
baseUrl: 'https://cms.diyouzhijia.com/car_app_api',
TOKENNAME: 'Authori-zation',
//薛磊测试
baseUrl: 'http://192.168.31.226:8081/car_app_api',
// baseUrl: 'http://192.168.31.226:8081/car_app_api',
fileUploadUrl: 'https://cms.diyouzhijia.com/car_app_api/api/front/upload/image',
WebSocketUrl: 'ws://121.199.24.205:9107/lxk/websocket',
WebSocketOpen: false,

View File

@@ -134,6 +134,7 @@
import {
brannerList
} from '@/api/system/config'
import {getLocationFn} from "@/utils/index.js"
export default {
computed: {
...mapGetters(['citySave'])
@@ -252,6 +253,9 @@
this.getBrannerList()
//获取社区分类
this.categoryTypeListFn()
//获取当前位置
getLocationFn()
},
onShow() {
this.getReturnIncomeFn()