shish 2 лет назад
Родитель
Сommit
def5c255a5
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      hdApp/src/constant/index.js

+ 4 - 0
hdApp/src/constant/index.js

@@ -8,6 +8,10 @@ const extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}
 const extConfig = {apiHost:APIHOST,imgHost:IMGHOST,}
 // #endif
 
+// #ifdef H5
+const extConfig = {apiHost:APIHOST,imgHost:IMGHOST,}
+// #endif
+
 // 常量索引
 const envVal = {
 	imgUrl: extConfig.imgHost,