Merge branch 'dev' into dev-yxl

master
于肖磊 2025-02-26 14:39:50 +08:00
commit 0729642163
2 changed files with 16 additions and 9 deletions

17
App.vue
View File

@ -7,10 +7,10 @@
data: {
//
//
request_url:'http://shopxo.com/',
request_url:'https://new.shopxo.vip/',
// publicpublichttps://d1.shopxo.vip/public/
static_url:'http://shopxo.com/',
static_url:'https://new.shopxo.vip/',
// default
system_type: 'default',
@ -938,11 +938,14 @@
* url url地址
*/
get_url_main_part(url) {
if (url.indexOf('?') == -1) {
var value = url;
} else {
var temp_str = url.split('?');
var value = temp_str[0];
var value = '';
if((url || null) != null) {
if (url.indexOf('?') == -1) {
value = url;
} else {
temp_str = url.split('?');
value = temp_str[0];
}
}
return value;
},

View File

@ -97,11 +97,15 @@
onLoad(params) {
//
app.globalData.page_event_onload_handle(params);
app.globalData.page_event_onload_handle(params);
//
params = app.globalData.launch_params_handle(params);
//
this.setData({
params: params,
params: params,
nav_active_value: params.category_id || 0,
});
//
this.get_data();