电子商城测试版v4
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
// export const BASE_URL = `https://dev.zzfzyc.com/lymarket` // 开发环境
|
||||
// export const BASE_URL = `https://www.zzfzyc.com/lymarket` // 正式环境
|
||||
// export const BASE_URL = `http://192.168.1.5:40001/lymarket` // 王霞
|
||||
// export const BASE_URL = `http://192.168.1.7:50002/lymarket` // 添
|
||||
export const BASE_URL = `http://192.168.1.42:50001/lymarket` // 杰
|
||||
export const BASE_URL = `http://192.168.1.7:50002/lymarket` // 添
|
||||
// export const BASE_URL = `http://192.168.1.42:50001/lymarket` // 杰
|
||||
|
||||
// CDN
|
||||
// 生成密钥
|
||||
|
||||
+2
-2
@@ -43,11 +43,11 @@ export const throttle = (fn, delay) => {
|
||||
let res = {}
|
||||
for(let key in val) {
|
||||
if(val[key]!==undefined&&val[key]!==null&&val[key]!==''&&(!arr.includes(key))){
|
||||
if(val[key] instanceof Number){
|
||||
if(typeof val[key] == 'number'){
|
||||
if(!isNaN(val[key])) {
|
||||
res[key] = val[key]
|
||||
}
|
||||
}else{
|
||||
} else{
|
||||
res[key] = val[key]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user