Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
mongo-ui
Commits
4d29001d
Commit
4d29001d
authored
Aug 27, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 授权弹框添加校验
parent
e3996abd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
128 additions
and
25 deletions
+128
-25
AuthFromXyqb.vue
src/components/AuthFromXyqb.vue
+29
-25
yarn.lock
yarn.lock
+99
-0
No files found.
src/components/AuthFromXyqb.vue
View file @
4d29001d
...
@@ -45,7 +45,8 @@ export default {
...
@@ -45,7 +45,8 @@ export default {
showAuthXyqb
:
{
showAuthXyqb
:
{
immediate
:
true
,
immediate
:
true
,
handler
(
val
)
{
handler
(
val
)
{
this
.
showAuth
=
!!
this
.
userInfo
.
length
&&
val
===
2
;
this
.
setUserInfo
();
this
.
showAuth
=
!!
this
.
userInfo
.
length
&&
this
.
hasUserId
&&
val
===
2
;
if
(
this
.
showAuth
)
{
if
(
this
.
showAuth
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
const
activeElement
=
document
.
activeElement
;
const
activeElement
=
document
.
activeElement
;
...
@@ -62,7 +63,15 @@ export default {
...
@@ -62,7 +63,15 @@ export default {
}
}
}
}
},
},
created
()
{
computed
:
{
...
mapState
([
"
showAuthXyqb
"
]),
hasUserId
()
{
return
!!
this
.
userInfo
.
userInfoSecId
;
}
},
methods
:
{
...
mapActions
([
"
setAuthXyqb
"
]),
setUserInfo
()
{
Object
.
keys
(
xyqbUserInfo
).
forEach
(
key
=>
{
Object
.
keys
(
xyqbUserInfo
).
forEach
(
key
=>
{
if
(
key
===
"
phoneNoMask
"
)
{
if
(
key
===
"
phoneNoMask
"
)
{
this
.
userInfo
[
0
]
=
{
this
.
userInfo
[
0
]
=
{
...
@@ -83,12 +92,7 @@ export default {
...
@@ -83,12 +92,7 @@ export default {
};
};
}
}
});
});
},
}
computed
:
{
...
mapState
([
"
showAuthXyqb
"
])
},
methods
:
{
...
mapActions
([
"
setAuthXyqb
"
])
}
}
};
};
</
script
>
</
script
>
...
...
yarn.lock
View file @
4d29001d
...
@@ -893,6 +893,13 @@
...
@@ -893,6 +893,13 @@
resolved "http://npmprivate.quantgroups.com/@nodelib%2ffs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"
resolved "http://npmprivate.quantgroups.com/@nodelib%2ffs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"
integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==
integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==
"@npmcli/move-file@^1.0.1":
version "1.0.1"
resolved "http://npmprivate.quantgroups.com/@npmcli%2fmove-file/-/move-file-1.0.1.tgz#de103070dac0f48ce49cf6693c23af59c0f70464"
integrity sha512-Uv6h1sT+0DrblvIrolFtbvM1FgWm+/sy4B3pvLp67Zys+thcukzS5ekn7HsZFGpWP4Q3fYJCljbWQE/XivMRLw==
dependencies:
mkdirp "^1.0.4"
"@qg/cherry-ui@^1.2.3":
"@qg/cherry-ui@^1.2.3":
version "1.2.3"
version "1.2.3"
resolved "http://npmprivate.quantgroups.com/@qg%2fcherry-ui/-/cherry-ui-1.2.3.tgz#280698c19039ee079f33e33856653e16d3f0e0c6"
resolved "http://npmprivate.quantgroups.com/@qg%2fcherry-ui/-/cherry-ui-1.2.3.tgz#280698c19039ee079f33e33856653e16d3f0e0c6"
...
@@ -2041,6 +2048,29 @@ cacache@^13.0.1:
...
@@ -2041,6 +2048,29 @@ cacache@^13.0.1:
ssri "^7.0.0"
ssri "^7.0.0"
unique-filename "^1.1.1"
unique-filename "^1.1.1"
cacache@^15.0.5:
version "15.0.5"
resolved "http://npmprivate.quantgroups.com/cacache/-/cacache-15.0.5.tgz#69162833da29170d6732334643c60e005f5f17d0"
integrity sha512-lloiL22n7sOjEEXdL8NAjTgv9a1u43xICE9/203qonkZUCj5X1UEWIdf2/Y0d6QcCtMzbKQyhrcDbdvlZTs/+A==
dependencies:
"@npmcli/move-file" "^1.0.1"
chownr "^2.0.0"
fs-minipass "^2.0.0"
glob "^7.1.4"
infer-owner "^1.0.4"
lru-cache "^6.0.0"
minipass "^3.1.1"
minipass-collect "^1.0.2"
minipass-flush "^1.0.5"
minipass-pipeline "^1.2.2"
mkdirp "^1.0.3"
p-map "^4.0.0"
promise-inflight "^1.0.1"
rimraf "^3.0.2"
ssri "^8.0.0"
tar "^6.0.2"
unique-filename "^1.1.1"
cache-base@^1.0.1:
cache-base@^1.0.1:
version "1.0.1"
version "1.0.1"
resolved "http://npmprivate.quantgroups.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2"
resolved "http://npmprivate.quantgroups.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2"
...
@@ -2231,6 +2261,11 @@ chownr@^1.1.1, chownr@^1.1.2:
...
@@ -2231,6 +2261,11 @@ chownr@^1.1.1, chownr@^1.1.2:
resolved "http://npmprivate.quantgroups.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b"
resolved "http://npmprivate.quantgroups.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b"
integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==
integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==
chownr@^2.0.0:
version "2.0.0"
resolved "http://npmprivate.quantgroups.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece"
integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==
chrome-trace-event@^1.0.2:
chrome-trace-event@^1.0.2:
version "1.0.2"
version "1.0.2"
resolved "http://npmprivate.quantgroups.com/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz#234090ee97c7d4ad1a2c4beae27505deffc608a4"
resolved "http://npmprivate.quantgroups.com/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz#234090ee97c7d4ad1a2c4beae27505deffc608a4"
...
@@ -2475,6 +2510,17 @@ compressible@~2.0.16:
...
@@ -2475,6 +2510,17 @@ compressible@~2.0.16:
dependencies:
dependencies:
mime-db ">= 1.43.0 < 2"
mime-db ">= 1.43.0 < 2"
compression-webpack-plugin@^5.0.1:
version "5.0.1"
resolved "http://npmprivate.quantgroups.com/compression-webpack-plugin/-/compression-webpack-plugin-5.0.1.tgz#316c1a4e4ccc94510a978c967fc143581d1e3643"
integrity sha512-Wcb99O4UkdDZiM+blEw6h+cUfJYCn2kgK0l3fjLOm72Stso9DVMieQpBD4PVpyI7DLL6+zNh0iJV3p4HDwTinQ==
dependencies:
cacache "^15.0.5"
find-cache-dir "^3.3.1"
schema-utils "^2.7.0"
serialize-javascript "^4.0.0"
webpack-sources "^1.4.3"
compression@^1.7.4:
compression@^1.7.4:
version "1.7.4"
version "1.7.4"
resolved "http://npmprivate.quantgroups.com/compression/-/compression-1.7.4.tgz#95523eff170ca57c29a0ca41e6fe131f41e5bb8f"
resolved "http://npmprivate.quantgroups.com/compression/-/compression-1.7.4.tgz#95523eff170ca57c29a0ca41e6fe131f41e5bb8f"
...
@@ -5379,6 +5425,13 @@ lru-cache@^5.1.1:
...
@@ -5379,6 +5425,13 @@ lru-cache@^5.1.1:
dependencies:
dependencies:
yallist "^3.0.2"
yallist "^3.0.2"
lru-cache@^6.0.0:
version "6.0.0"
resolved "http://npmprivate.quantgroups.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==
dependencies:
yallist "^4.0.0"
make-dir@^2.0.0, make-dir@^2.1.0:
make-dir@^2.0.0, make-dir@^2.1.0:
version "2.1.0"
version "2.1.0"
resolved "http://npmprivate.quantgroups.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5"
resolved "http://npmprivate.quantgroups.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5"
...
@@ -5626,6 +5679,14 @@ minipass@^3.0.0, minipass@^3.1.1:
...
@@ -5626,6 +5679,14 @@ minipass@^3.0.0, minipass@^3.1.1:
dependencies:
dependencies:
yallist "^4.0.0"
yallist "^4.0.0"
minizlib@^2.1.1:
version "2.1.2"
resolved "http://npmprivate.quantgroups.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931"
integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==
dependencies:
minipass "^3.0.0"
yallist "^4.0.0"
mississippi@^3.0.0:
mississippi@^3.0.0:
version "3.0.0"
version "3.0.0"
resolved "http://npmprivate.quantgroups.com/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022"
resolved "http://npmprivate.quantgroups.com/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022"
...
@@ -5662,6 +5723,11 @@ mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.1:
...
@@ -5662,6 +5723,11 @@ mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@~0.5.1:
dependencies:
dependencies:
minimist "^1.2.5"
minimist "^1.2.5"
mkdirp@^1.0.3, mkdirp@^1.0.4:
version "1.0.4"
resolved "http://npmprivate.quantgroups.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
move-concurrently@^1.0.1:
move-concurrently@^1.0.1:
version "1.0.1"
version "1.0.1"
resolved "http://npmprivate.quantgroups.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92"
resolved "http://npmprivate.quantgroups.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92"
...
@@ -7301,6 +7367,13 @@ rimraf@^2.2.8, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.3, rimraf@^2.7.1:
...
@@ -7301,6 +7367,13 @@ rimraf@^2.2.8, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.3, rimraf@^2.7.1:
dependencies:
dependencies:
glob "^7.1.3"
glob "^7.1.3"
rimraf@^3.0.2:
version "3.0.2"
resolved "http://npmprivate.quantgroups.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
dependencies:
glob "^7.1.3"
ripemd160@^2.0.0, ripemd160@^2.0.1:
ripemd160@^2.0.0, ripemd160@^2.0.1:
version "2.0.2"
version "2.0.2"
resolved "http://npmprivate.quantgroups.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c"
resolved "http://npmprivate.quantgroups.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c"
...
@@ -7454,6 +7527,13 @@ serialize-javascript@^3.1.0:
...
@@ -7454,6 +7527,13 @@ serialize-javascript@^3.1.0:
dependencies:
dependencies:
randombytes "^2.1.0"
randombytes "^2.1.0"
serialize-javascript@^4.0.0:
version "4.0.0"
resolved "http://npmprivate.quantgroups.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa"
integrity sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==
dependencies:
randombytes "^2.1.0"
serve-index@^1.9.1:
serve-index@^1.9.1:
version "1.9.1"
version "1.9.1"
resolved "http://npmprivate.quantgroups.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239"
resolved "http://npmprivate.quantgroups.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239"
...
@@ -7786,6 +7866,13 @@ ssri@^7.0.0, ssri@^7.1.0:
...
@@ -7786,6 +7866,13 @@ ssri@^7.0.0, ssri@^7.1.0:
figgy-pudding "^3.5.1"
figgy-pudding "^3.5.1"
minipass "^3.1.1"
minipass "^3.1.1"
ssri@^8.0.0:
version "8.0.0"
resolved "http://npmprivate.quantgroups.com/ssri/-/ssri-8.0.0.tgz#79ca74e21f8ceaeddfcb4b90143c458b8d988808"
integrity sha512-aq/pz989nxVYwn16Tsbj1TqFpD5LLrQxHf5zaHuieFV+R0Bbr4y8qUsOA45hXT/N4/9UNXTarBjnjVmjSOVaAA==
dependencies:
minipass "^3.1.1"
stable@^0.1.8:
stable@^0.1.8:
version "0.1.8"
version "0.1.8"
resolved "http://npmprivate.quantgroups.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf"
resolved "http://npmprivate.quantgroups.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf"
...
@@ -8105,6 +8192,18 @@ tapable@^1.0.0, tapable@^1.1.3:
...
@@ -8105,6 +8192,18 @@ tapable@^1.0.0, tapable@^1.1.3:
resolved "http://npmprivate.quantgroups.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2"
resolved "http://npmprivate.quantgroups.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2"
integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==
integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==
tar@^6.0.2:
version "6.0.5"
resolved "http://npmprivate.quantgroups.com/tar/-/tar-6.0.5.tgz#bde815086e10b39f1dcd298e89d596e1535e200f"
integrity sha512-0b4HOimQHj9nXNEAA7zWwMM91Zhhba3pspja6sQbgTpynOJf+bkjBnfybNYzbpLbnwXnbyB4LOREvlyXLkCHSg==
dependencies:
chownr "^2.0.0"
fs-minipass "^2.0.0"
minipass "^3.0.0"
minizlib "^2.1.1"
mkdirp "^1.0.3"
yallist "^4.0.0"
terser-webpack-plugin@^1.4.3:
terser-webpack-plugin@^1.4.3:
version "1.4.4"
version "1.4.4"
resolved "http://npmprivate.quantgroups.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.4.tgz#2c63544347324baafa9a56baaddf1634c8abfc2f"
resolved "http://npmprivate.quantgroups.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.4.tgz#2c63544347324baafa9a56baaddf1634c8abfc2f"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment