system-phone 3.0.39 → 3.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -208,8 +208,8 @@ export default {
|
|
|
208
208
|
})
|
|
209
209
|
console.log('获取登陆信息:', ret.data)
|
|
210
210
|
//秦华---(siteId==站点id)===============(flatId==平板id)
|
|
211
|
-
this.$androidUtil.setPreference('siteId', ret.data.f_extend1)
|
|
212
|
-
this.$androidUtil.setPreference('flatId', ret.data.f_extend2)
|
|
211
|
+
this.$androidUtil.setPreference('siteId', ret.data.f_extend1 || "")
|
|
212
|
+
this.$androidUtil.setPreference('flatId', ret.data.f_extend2 || "")
|
|
213
213
|
if ((JSON.stringify(ret.data).startsWith("{") || JSON.stringify(ret.data).data.startsWith("[")) && ret.data.code && ret.data.msg && ret.data.code !== 200) {
|
|
214
214
|
throw {status: ret.data.code, message: ret.data.msg}
|
|
215
215
|
}
|