system-clients 3.2.96-temp → 3.2.97-temp
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
|
@@ -241,6 +241,11 @@ let saveGen = function *(self) {
|
|
|
241
241
|
msg = ret.data
|
|
242
242
|
} else if (ret.status === 555) {
|
|
243
243
|
msg = ret.data
|
|
244
|
+
} else if(ret.status === 789) {
|
|
245
|
+
yield self.$showMessage(msg='您的密码已过期,请及时修改!!!', ['confirm']).then(() => {
|
|
246
|
+
self.modifyPwShow = true
|
|
247
|
+
})
|
|
248
|
+
return
|
|
244
249
|
}
|
|
245
250
|
self.createCode()
|
|
246
251
|
self.picLyanzhengma = ''
|
|
@@ -210,9 +210,13 @@ let loginGen = async function (name, password, cue) {
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
} else {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
213
|
+
if(getLogin.data.states.includes('您的密码已经使用超过')){
|
|
214
|
+
throw {status: 789, data: getLogin.data.states}
|
|
215
|
+
}else{
|
|
216
|
+
let error = {status: 401, data: getLogin.data.states}
|
|
217
|
+
// 抛出错误
|
|
218
|
+
throw error
|
|
219
|
+
}
|
|
216
220
|
}
|
|
217
221
|
}
|
|
218
222
|
|