对接完添加购物车
This commit is contained in:
@@ -5,11 +5,11 @@
|
||||
// export const BASE_URL = `http://192.168.0.89:40001/lymarket`
|
||||
// export const BASE_URL = `http://192.168.1.165:40001/lymarket` // 王霞
|
||||
// export const BASE_URL = `https://test.zzfzyc.com/lymarket` // 测试环境
|
||||
// export const BASE_URL = `http://192.168.1.30:40001/lymarket` // 发
|
||||
export const BASE_URL = `http://192.168.1.30:40001/lymarket` // 发
|
||||
// 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.165:40001/lymarket` // 王霞
|
||||
export const BASE_URL = `http://192.168.1.224:50001/lymarket` // 添
|
||||
// export const BASE_URL = `http://192.168.1.224:50001/lymarket` // 添
|
||||
|
||||
// CDN
|
||||
// 生成密钥
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ export const throttle = (fn, delay) => {
|
||||
export const getFilterData = (val = {}, arr = []) => {
|
||||
let res = {}
|
||||
for(let key in val) {
|
||||
if(val[key]!=undefined&&val[key]!=null&&val[key]!=''&&(!arr.includes(key))){
|
||||
if(val[key]!==undefined&&val[key]!==null&&val[key]!==''&&(!arr.includes(key))){
|
||||
if(val[key] instanceof Number){
|
||||
if(!isNaN(val[key])) {
|
||||
res[key] = val[key]
|
||||
|
||||
Reference in New Issue
Block a user