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 = { module.exports = {
//正式 //正式
// baseUrl: 'https://cms.diyouzhijia.com/car_app_api', baseUrl: 'https://cms.diyouzhijia.com/car_app_api',
TOKENNAME: 'Authori-zation', 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', fileUploadUrl: 'https://cms.diyouzhijia.com/car_app_api/api/front/upload/image',
WebSocketUrl: 'ws://121.199.24.205:9107/lxk/websocket', WebSocketUrl: 'ws://121.199.24.205:9107/lxk/websocket',
WebSocketOpen: false, WebSocketOpen: false,

View File

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