system-phone 3.0.38 → 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.
@@ -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
  }
@@ -217,7 +217,7 @@ export default {
217
217
  } catch (e) {
218
218
  if (Vue.android) {
219
219
  this.loaderShow = false
220
- this.$showMessage(e.message ? e.message : '服务器内部错误!')
220
+ this.$showMessage(e.message ? e.message : '登录失败!用户名或密码错误!')
221
221
  }
222
222
  return
223
223
  }