master
gongfuxiang 2025-02-25 16:15:58 +08:00
parent 452ae76fa9
commit db595f4f06
1 changed files with 10 additions and 7 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;
},