n20-common-lib 1.2.32 → 1.2.33
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
|
@@ -281,9 +281,18 @@ export default {
|
|
|
281
281
|
this.outTime(60)
|
|
282
282
|
|
|
283
283
|
axios
|
|
284
|
-
.get(
|
|
285
|
-
|
|
286
|
-
|
|
284
|
+
// .get(
|
|
285
|
+
// `/bems/prod_1.0/uas/api/authorization/captcha/${this.form[type]}/1`,
|
|
286
|
+
// null,
|
|
287
|
+
// { loading: false, noMsg: true }
|
|
288
|
+
// )
|
|
289
|
+
.post(
|
|
290
|
+
'/bems/prod_1.0/uas/api/authorization/captcha',
|
|
291
|
+
{
|
|
292
|
+
handleType: 1,
|
|
293
|
+
mobile: type === 'phone' ? this.form[type] : '',
|
|
294
|
+
username: type !== 'phone' ? this.form[type] : ''
|
|
295
|
+
},
|
|
287
296
|
{ loading: false, noMsg: true }
|
|
288
297
|
)
|
|
289
298
|
.then(() => {
|
package/src/utils/relaNo.js
CHANGED
|
@@ -21,11 +21,7 @@ export function setRela(name) {
|
|
|
21
21
|
)
|
|
22
22
|
console.log(relaObj, 'has权限列表')
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
relaNos.forEach((item) => {
|
|
26
|
-
relaNosGlobal.push.apply(relaNosGlobal, item.relaNos)
|
|
27
|
-
})
|
|
28
|
-
relaObj.relaNosGlobal = relaNosGlobal
|
|
24
|
+
relaObj.relaNosGlobal = relaNos.map((item) => item.relaNos).flat()
|
|
29
25
|
return
|
|
30
26
|
}
|
|
31
27
|
/* 兼容旧门户 */
|