Commit 888f1316 authored by FE-安焕焕's avatar FE-安焕焕 👣

修改登录重复提示,浏览器回退高亮菜单,

parent 284f851f
...@@ -383,7 +383,7 @@ ...@@ -383,7 +383,7 @@
}, },
"asap": { "asap": {
"version": "2.0.6", "version": "2.0.6",
"resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", "resolved": "http://npmprivate.quantgroups.com/asap/-/asap-2.0.6.tgz",
"integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=", "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=",
"optional": true "optional": true
}, },
...@@ -436,7 +436,7 @@ ...@@ -436,7 +436,7 @@
}, },
"assert-plus": { "assert-plus": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "resolved": "http://npmprivate.quantgroups.com/assert-plus/-/assert-plus-1.0.0.tgz",
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
"optional": true "optional": true
}, },
...@@ -469,7 +469,7 @@ ...@@ -469,7 +469,7 @@
}, },
"async-validator": { "async-validator": {
"version": "1.11.3", "version": "1.11.3",
"resolved": "https://registry.npmjs.org/async-validator/-/async-validator-1.11.3.tgz", "resolved": "http://npmprivate.quantgroups.com/async-validator/-/async-validator-1.11.3.tgz",
"integrity": "sha512-Xeyt+fpqTSYeC++J/M/KkBq8UEGiAkjjKTirKhvkR9M9q+iZNCsv6ffVWNySllAuNPZ+SqzKMgBuvWHILjHatg==", "integrity": "sha512-Xeyt+fpqTSYeC++J/M/KkBq8UEGiAkjjKTirKhvkR9M9q+iZNCsv6ffVWNySllAuNPZ+SqzKMgBuvWHILjHatg==",
"requires": { "requires": {
"babel-runtime": "6.x" "babel-runtime": "6.x"
...@@ -477,7 +477,7 @@ ...@@ -477,7 +477,7 @@
}, },
"asynckit": { "asynckit": {
"version": "0.4.0", "version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "resolved": "http://npmprivate.quantgroups.com/asynckit/-/asynckit-0.4.0.tgz",
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=",
"optional": true "optional": true
}, },
...@@ -503,7 +503,7 @@ ...@@ -503,7 +503,7 @@
}, },
"aws-sign2": { "aws-sign2": {
"version": "0.7.0", "version": "0.7.0",
"resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", "resolved": "http://npmprivate.quantgroups.com/aws-sign2/-/aws-sign2-0.7.0.tgz",
"integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=",
"optional": true "optional": true
}, },
...@@ -515,7 +515,7 @@ ...@@ -515,7 +515,7 @@
}, },
"axios": { "axios": {
"version": "0.19.0", "version": "0.19.0",
"resolved": "https://registry.npmjs.org/axios/-/axios-0.19.0.tgz", "resolved": "http://npmprivate.quantgroups.com/axios/-/axios-0.19.0.tgz",
"integrity": "sha512-1uvKqKQta3KBxIz14F2v06AEHZ/dIoeKfbTRkK1E5oqjDnuEerLmYTgJB5AiQZHJcljpg1TuRzdjDR06qNk0DQ==", "integrity": "sha512-1uvKqKQta3KBxIz14F2v06AEHZ/dIoeKfbTRkK1E5oqjDnuEerLmYTgJB5AiQZHJcljpg1TuRzdjDR06qNk0DQ==",
"requires": { "requires": {
"follow-redirects": "1.5.10", "follow-redirects": "1.5.10",
...@@ -524,7 +524,7 @@ ...@@ -524,7 +524,7 @@
"dependencies": { "dependencies": {
"debug": { "debug": {
"version": "3.1.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", "resolved": "http://npmprivate.quantgroups.com/debug/-/debug-3.1.0.tgz",
"integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
"requires": { "requires": {
"ms": "2.0.0" "ms": "2.0.0"
...@@ -532,7 +532,7 @@ ...@@ -532,7 +532,7 @@
}, },
"follow-redirects": { "follow-redirects": {
"version": "1.5.10", "version": "1.5.10",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", "resolved": "http://npmprivate.quantgroups.com/follow-redirects/-/follow-redirects-1.5.10.tgz",
"integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==", "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==",
"requires": { "requires": {
"debug": "=3.1.0" "debug": "=3.1.0"
...@@ -540,7 +540,7 @@ ...@@ -540,7 +540,7 @@
}, },
"is-buffer": { "is-buffer": {
"version": "2.0.3", "version": "2.0.3",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.3.tgz", "resolved": "http://npmprivate.quantgroups.com/is-buffer/-/is-buffer-2.0.3.tgz",
"integrity": "sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw==" "integrity": "sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw=="
} }
} }
...@@ -1480,12 +1480,12 @@ ...@@ -1480,12 +1480,12 @@
}, },
"batch-processor": { "batch-processor": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/batch-processor/-/batch-processor-1.0.0.tgz", "resolved": "http://npmprivate.quantgroups.com/batch-processor/-/batch-processor-1.0.0.tgz",
"integrity": "sha1-dclcMrdI4IUNEMKxaPa9vpiRrOg=" "integrity": "sha1-dclcMrdI4IUNEMKxaPa9vpiRrOg="
}, },
"bcrypt-pbkdf": { "bcrypt-pbkdf": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", "resolved": "http://npmprivate.quantgroups.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
"integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
"optional": true, "optional": true,
"requires": { "requires": {
...@@ -1857,7 +1857,7 @@ ...@@ -1857,7 +1857,7 @@
}, },
"caseless": { "caseless": {
"version": "0.12.0", "version": "0.12.0",
"resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", "resolved": "http://npmprivate.quantgroups.com/caseless/-/caseless-0.12.0.tgz",
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=",
"optional": true "optional": true
}, },
...@@ -2945,7 +2945,7 @@ ...@@ -2945,7 +2945,7 @@
}, },
"dashdash": { "dashdash": {
"version": "1.14.1", "version": "1.14.1",
"resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "resolved": "http://npmprivate.quantgroups.com/dashdash/-/dashdash-1.14.1.tgz",
"integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
"optional": true, "optional": true,
"requires": { "requires": {
...@@ -2999,7 +2999,7 @@ ...@@ -2999,7 +2999,7 @@
}, },
"deepmerge": { "deepmerge": {
"version": "2.2.1", "version": "2.2.1",
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-2.2.1.tgz", "resolved": "http://npmprivate.quantgroups.com/deepmerge/-/deepmerge-2.2.1.tgz",
"integrity": "sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA==" "integrity": "sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA=="
}, },
"define-properties": { "define-properties": {
...@@ -3103,7 +3103,7 @@ ...@@ -3103,7 +3103,7 @@
}, },
"delayed-stream": { "delayed-stream": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "resolved": "http://npmprivate.quantgroups.com/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
"optional": true "optional": true
}, },
...@@ -3268,7 +3268,7 @@ ...@@ -3268,7 +3268,7 @@
}, },
"ecc-jsbn": { "ecc-jsbn": {
"version": "0.1.2", "version": "0.1.2",
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", "resolved": "http://npmprivate.quantgroups.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
"integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
"optional": true, "optional": true,
"requires": { "requires": {
...@@ -3296,7 +3296,7 @@ ...@@ -3296,7 +3296,7 @@
}, },
"element-resize-detector": { "element-resize-detector": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/element-resize-detector/-/element-resize-detector-1.2.0.tgz", "resolved": "http://npmprivate.quantgroups.com/element-resize-detector/-/element-resize-detector-1.2.0.tgz",
"integrity": "sha512-UmhNB8sIJVZeg56gEjgmMd6p37sCg8j8trVW0LZM7Wzv+kxQ5CnRHcgRKBTB/kFUSn3e7UP59kl2V2U8Du1hmg==", "integrity": "sha512-UmhNB8sIJVZeg56gEjgmMd6p37sCg8j8trVW0LZM7Wzv+kxQ5CnRHcgRKBTB/kFUSn3e7UP59kl2V2U8Du1hmg==",
"requires": { "requires": {
"batch-processor": "1.0.0" "batch-processor": "1.0.0"
...@@ -3443,7 +3443,7 @@ ...@@ -3443,7 +3443,7 @@
}, },
"es6-promise": { "es6-promise": {
"version": "4.2.8", "version": "4.2.8",
"resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", "resolved": "http://npmprivate.quantgroups.com/es6-promise/-/es6-promise-4.2.8.tgz",
"integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w=="
}, },
"es6-set": { "es6-set": {
...@@ -4077,7 +4077,7 @@ ...@@ -4077,7 +4077,7 @@
}, },
"extsprintf": { "extsprintf": {
"version": "1.3.0", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", "resolved": "http://npmprivate.quantgroups.com/extsprintf/-/extsprintf-1.3.0.tgz",
"integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=",
"optional": true "optional": true
}, },
...@@ -4316,7 +4316,7 @@ ...@@ -4316,7 +4316,7 @@
}, },
"forever-agent": { "forever-agent": {
"version": "0.6.1", "version": "0.6.1",
"resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", "resolved": "http://npmprivate.quantgroups.com/forever-agent/-/forever-agent-0.6.1.tgz",
"integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=",
"optional": true "optional": true
}, },
...@@ -5004,7 +5004,7 @@ ...@@ -5004,7 +5004,7 @@
}, },
"getpass": { "getpass": {
"version": "0.1.7", "version": "0.1.7",
"resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", "resolved": "http://npmprivate.quantgroups.com/getpass/-/getpass-0.1.7.tgz",
"integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
"optional": true, "optional": true,
"requires": { "requires": {
...@@ -5095,7 +5095,7 @@ ...@@ -5095,7 +5095,7 @@
}, },
"har-schema": { "har-schema": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", "resolved": "http://npmprivate.quantgroups.com/har-schema/-/har-schema-2.0.0.tgz",
"integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=",
"optional": true "optional": true
}, },
...@@ -5414,7 +5414,7 @@ ...@@ -5414,7 +5414,7 @@
}, },
"http-signature": { "http-signature": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", "resolved": "http://npmprivate.quantgroups.com/http-signature/-/http-signature-1.2.0.tgz",
"integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
"optional": true, "optional": true,
"requires": { "requires": {
...@@ -5473,7 +5473,7 @@ ...@@ -5473,7 +5473,7 @@
}, },
"image-size": { "image-size": {
"version": "0.5.5", "version": "0.5.5",
"resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", "resolved": "http://npmprivate.quantgroups.com/image-size/-/image-size-0.5.5.tgz",
"integrity": "sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=", "integrity": "sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=",
"optional": true "optional": true
}, },
...@@ -5881,7 +5881,7 @@ ...@@ -5881,7 +5881,7 @@
}, },
"is-typedarray": { "is-typedarray": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "resolved": "http://npmprivate.quantgroups.com/is-typedarray/-/is-typedarray-1.0.0.tgz",
"integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=",
"optional": true "optional": true
}, },
...@@ -5932,13 +5932,13 @@ ...@@ -5932,13 +5932,13 @@
}, },
"isstream": { "isstream": {
"version": "0.1.2", "version": "0.1.2",
"resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", "resolved": "http://npmprivate.quantgroups.com/isstream/-/isstream-0.1.2.tgz",
"integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=",
"optional": true "optional": true
}, },
"iview": { "iview": {
"version": "3.4.2", "version": "3.4.2",
"resolved": "https://registry.npmjs.org/iview/-/iview-3.4.2.tgz", "resolved": "http://npmprivate.quantgroups.com/iview/-/iview-3.4.2.tgz",
"integrity": "sha512-02GK6ew+ufywSk3bGJYQZJxnPzyqfolVIfeJOZPFjf671SUPDMQJ/NTDbTAFJVF/jHJJHFaVdqtvStTKf95xpA==", "integrity": "sha512-02GK6ew+ufywSk3bGJYQZJxnPzyqfolVIfeJOZPFjf671SUPDMQJ/NTDbTAFJVF/jHJJHFaVdqtvStTKf95xpA==",
"requires": { "requires": {
"async-validator": "^1.10.0", "async-validator": "^1.10.0",
...@@ -5959,7 +5959,7 @@ ...@@ -5959,7 +5959,7 @@
}, },
"js-calendar": { "js-calendar": {
"version": "1.2.3", "version": "1.2.3",
"resolved": "https://registry.npmjs.org/js-calendar/-/js-calendar-1.2.3.tgz", "resolved": "http://npmprivate.quantgroups.com/js-calendar/-/js-calendar-1.2.3.tgz",
"integrity": "sha512-dAA1/Zbp4+c5E+ARCVTIuKepXsNLzSYfzvOimiYD4S5eeP9QuplSHLcdhfqFSwyM1o1u6ku6RRRCyaZ0YAjiBw==" "integrity": "sha512-dAA1/Zbp4+c5E+ARCVTIuKepXsNLzSYfzvOimiYD4S5eeP9QuplSHLcdhfqFSwyM1o1u6ku6RRRCyaZ0YAjiBw=="
}, },
"js-cookie": { "js-cookie": {
...@@ -5985,7 +5985,7 @@ ...@@ -5985,7 +5985,7 @@
}, },
"jsbn": { "jsbn": {
"version": "0.1.1", "version": "0.1.1",
"resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", "resolved": "http://npmprivate.quantgroups.com/jsbn/-/jsbn-0.1.1.tgz",
"integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=",
"optional": true "optional": true
}, },
...@@ -6009,7 +6009,7 @@ ...@@ -6009,7 +6009,7 @@
}, },
"json-schema": { "json-schema": {
"version": "0.2.3", "version": "0.2.3",
"resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", "resolved": "http://npmprivate.quantgroups.com/json-schema/-/json-schema-0.2.3.tgz",
"integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=",
"optional": true "optional": true
}, },
...@@ -6027,7 +6027,7 @@ ...@@ -6027,7 +6027,7 @@
}, },
"json-stringify-safe": { "json-stringify-safe": {
"version": "5.0.1", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "resolved": "http://npmprivate.quantgroups.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
"integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",
"optional": true "optional": true
}, },
...@@ -6045,7 +6045,7 @@ ...@@ -6045,7 +6045,7 @@
}, },
"jsprim": { "jsprim": {
"version": "1.4.1", "version": "1.4.1",
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", "resolved": "http://npmprivate.quantgroups.com/jsprim/-/jsprim-1.4.1.tgz",
"integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
"optional": true, "optional": true,
"requires": { "requires": {
...@@ -6120,7 +6120,7 @@ ...@@ -6120,7 +6120,7 @@
}, },
"less-loader": { "less-loader": {
"version": "5.0.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/less-loader/-/less-loader-5.0.0.tgz", "resolved": "http://npmprivate.quantgroups.com/less-loader/-/less-loader-5.0.0.tgz",
"integrity": "sha512-bquCU89mO/yWLaUq0Clk7qCsKhsF/TZpJUzETRvJa9KSVEL9SO3ovCvdEHISBhrC81OwC8QSVX7E0bzElZj9cg==", "integrity": "sha512-bquCU89mO/yWLaUq0Clk7qCsKhsF/TZpJUzETRvJa9KSVEL9SO3ovCvdEHISBhrC81OwC8QSVX7E0bzElZj9cg==",
"requires": { "requires": {
"clone": "^2.1.1", "clone": "^2.1.1",
...@@ -6130,12 +6130,12 @@ ...@@ -6130,12 +6130,12 @@
"dependencies": { "dependencies": {
"clone": { "clone": {
"version": "2.1.2", "version": "2.1.2",
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", "resolved": "http://npmprivate.quantgroups.com/clone/-/clone-2.1.2.tgz",
"integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=" "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18="
}, },
"pify": { "pify": {
"version": "4.0.1", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", "resolved": "http://npmprivate.quantgroups.com/pify/-/pify-4.0.1.tgz",
"integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==" "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g=="
} }
} }
...@@ -6313,7 +6313,7 @@ ...@@ -6313,7 +6313,7 @@
}, },
"lodash.throttle": { "lodash.throttle": {
"version": "4.1.1", "version": "4.1.1",
"resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz", "resolved": "http://npmprivate.quantgroups.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz",
"integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ=" "integrity": "sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ="
}, },
"lodash.uniq": { "lodash.uniq": {
...@@ -7685,7 +7685,7 @@ ...@@ -7685,7 +7685,7 @@
}, },
"performance-now": { "performance-now": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", "resolved": "http://npmprivate.quantgroups.com/performance-now/-/performance-now-2.1.0.tgz",
"integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=",
"optional": true "optional": true
}, },
...@@ -7727,7 +7727,7 @@ ...@@ -7727,7 +7727,7 @@
}, },
"popper.js": { "popper.js": {
"version": "1.15.0", "version": "1.15.0",
"resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.15.0.tgz", "resolved": "http://npmprivate.quantgroups.com/popper.js/-/popper.js-1.15.0.tgz",
"integrity": "sha512-w010cY1oCUmI+9KwwlWki+r5jxKfTFDVoadl7MSrIujHU5MJ5OR6HTDj6Xo8aoR/QsA56x8jKjA59qGH4ELtrA==" "integrity": "sha512-w010cY1oCUmI+9KwwlWki+r5jxKfTFDVoadl7MSrIujHU5MJ5OR6HTDj6Xo8aoR/QsA56x8jKjA59qGH4ELtrA=="
}, },
"portfinder": { "portfinder": {
...@@ -9808,7 +9808,7 @@ ...@@ -9808,7 +9808,7 @@
}, },
"tinycolor2": { "tinycolor2": {
"version": "1.4.1", "version": "1.4.1",
"resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.4.1.tgz", "resolved": "http://npmprivate.quantgroups.com/tinycolor2/-/tinycolor2-1.4.1.tgz",
"integrity": "sha1-9PrTM0R7wLB9TcjpIJ2POaisd+g=" "integrity": "sha1-9PrTM0R7wLB9TcjpIJ2POaisd+g="
}, },
"tmp": { "tmp": {
...@@ -9911,7 +9911,7 @@ ...@@ -9911,7 +9911,7 @@
}, },
"tunnel-agent": { "tunnel-agent": {
"version": "0.6.0", "version": "0.6.0",
"resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "resolved": "http://npmprivate.quantgroups.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
"integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
"optional": true, "optional": true,
"requires": { "requires": {
...@@ -9920,7 +9920,7 @@ ...@@ -9920,7 +9920,7 @@
}, },
"tweetnacl": { "tweetnacl": {
"version": "0.14.5", "version": "0.14.5",
"resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", "resolved": "http://npmprivate.quantgroups.com/tweetnacl/-/tweetnacl-0.14.5.tgz",
"integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=",
"optional": true "optional": true
}, },
...@@ -10275,7 +10275,7 @@ ...@@ -10275,7 +10275,7 @@
}, },
"v-click-outside-x": { "v-click-outside-x": {
"version": "3.7.1", "version": "3.7.1",
"resolved": "https://registry.npmjs.org/v-click-outside-x/-/v-click-outside-x-3.7.1.tgz", "resolved": "http://npmprivate.quantgroups.com/v-click-outside-x/-/v-click-outside-x-3.7.1.tgz",
"integrity": "sha512-WmUgmcIXr9clVpm1AYS/FgHtcDicfnfoxgQCNg4O6vfk9GVnxA0vSqO321ogUo0b7czYTidj7fQENvWFMWOkUg==" "integrity": "sha512-WmUgmcIXr9clVpm1AYS/FgHtcDicfnfoxgQCNg4O6vfk9GVnxA0vSqO321ogUo0b7czYTidj7fQENvWFMWOkUg=="
}, },
"validate-npm-package-license": { "validate-npm-package-license": {
...@@ -10302,7 +10302,7 @@ ...@@ -10302,7 +10302,7 @@
}, },
"verror": { "verror": {
"version": "1.10.0", "version": "1.10.0",
"resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", "resolved": "http://npmprivate.quantgroups.com/verror/-/verror-1.10.0.tgz",
"integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
"optional": true, "optional": true,
"requires": { "requires": {
...@@ -10355,7 +10355,7 @@ ...@@ -10355,7 +10355,7 @@
}, },
"vue-happy-scroll": { "vue-happy-scroll": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/vue-happy-scroll/-/vue-happy-scroll-2.1.0.tgz", "resolved": "http://npmprivate.quantgroups.com/vue-happy-scroll/-/vue-happy-scroll-2.1.0.tgz",
"integrity": "sha512-BY7/Ce4VtBfpinLQZiE6wE3/OV+9yJueM3Ti/OY3Bfdx1wqkJ6X3babi1gV6sj6x5j6rObm+GIVJ0cxC0W8Zcg==", "integrity": "sha512-BY7/Ce4VtBfpinLQZiE6wE3/OV+9yJueM3Ti/OY3Bfdx1wqkJ6X3babi1gV6sj6x5j6rObm+GIVJ0cxC0W8Zcg==",
"dev": true, "dev": true,
"requires": { "requires": {
...@@ -10458,9 +10458,14 @@ ...@@ -10458,9 +10458,14 @@
}, },
"vue-upload-component": { "vue-upload-component": {
"version": "2.8.20", "version": "2.8.20",
"resolved": "https://registry.npmjs.org/vue-upload-component/-/vue-upload-component-2.8.20.tgz", "resolved": "http://npmprivate.quantgroups.com/vue-upload-component/-/vue-upload-component-2.8.20.tgz",
"integrity": "sha512-zrnJvULu4rnZe36Ib2/AZrI/h/mmNbUJZ+acZD652PyumzbvjCOQeYHe00sGifTdYjzzS66CwhTT+ubZ2D0Aow==" "integrity": "sha512-zrnJvULu4rnZe36Ib2/AZrI/h/mmNbUJZ+acZD652PyumzbvjCOQeYHe00sGifTdYjzzS66CwhTT+ubZ2D0Aow=="
}, },
"vuex": {
"version": "3.1.1",
"resolved": "https://registry.npm.taobao.org/vuex/download/vuex-3.1.1.tgz",
"integrity": "sha1-DCZL/jDNvM+Wq52zF30hGCilkQ4="
},
"watchpack": { "watchpack": {
"version": "1.6.0", "version": "1.6.0",
"resolved": "http://npmprivate.quantgroups.com/watchpack/-/watchpack-1.6.0.tgz", "resolved": "http://npmprivate.quantgroups.com/watchpack/-/watchpack-1.6.0.tgz",
......
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
"qs": "^6.7.0", "qs": "^6.7.0",
"vue": "^2.5.2", "vue": "^2.5.2",
"vue-router": "^3.0.1", "vue-router": "^3.0.1",
"vue-upload-component": "^2.8.20" "vue-upload-component": "^2.8.20",
"vuex": "^3.1.1"
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^7.1.2", "autoprefixer": "^7.1.2",
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
<Row id="home" class="home"> <Row id="home" class="home">
<Col span="3" class="aside" style="width:17%;height:100%"> <Col span="3" class="aside" style="width:17%;height:100%">
<img src="https://o7oe0d6qz.qnssl.com/image/homelogo.png" alt="" style="height:60px"> <img src="https://o7oe0d6qz.qnssl.com/image/homelogo.png" alt="" style="height:60px">
<Menu style="width: 100%;" ref='subMenu' :active-name="vSubName" :open-names="vName" @on-select="go"> <Menu style="width: 100%;" ref='subMenu' :active-name="levelThreeName" :open-names="levelTwoName" @on-select="go">
<template v-for="(menu) in childMenu" > <template v-for="(menu) in childMenu" >
<Submenu :name="menu.name" :key="menu.name" v-show='!(isAdmin==false&&menu.item=="账户管理")'> <Submenu :name="menu.name" :key="menu.name" v-show='!(isAdmin==false&&menu.item=="账户管理")'>
<template slot="title"> <template slot="title">
<Icon :type="menu.icon" style="font-size:20px;font-weight:bold"/> <Icon :type="menu.icon" style="font-size:20px;font-weight:bold"/>
{{menu.item}} {{menu.item}}
</template> </template>
<MenuItem v-for="child in menu.child" :key="child.name" :name="child.name" @click="go" :active-name="vSubName">{{child.item}}</MenuItem> <MenuItem v-for="child in menu.child" :key="child.name" :name="child.name" @click="go" :active-name="levelThreeName">{{child.item}}</MenuItem>
</Submenu> </Submenu>
</template> </template>
</Menu> </Menu>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<Col span="21" class="content" style="width:83%;height:100%"> <Col span="21" class="content" style="width:83%;height:100%">
<Row class="header" style="height:6%"> <Row class="header" style="height:6%">
<Col span="20"> <Col span="20">
<Menu mode="horizontal" :active-name="hName" @on-select="selectMenu"> <Menu mode="horizontal" :active-name="levelOneName" @on-select="selectMenu">
<MenuItem v-for="menu in menuList" :name="menu.name" :key="menu.name" > <MenuItem v-for="menu in menuList" :name="menu.name" :key="menu.name" >
{{menu.item}} {{menu.item}}
</MenuItem> </MenuItem>
...@@ -54,12 +54,13 @@ import localstorage from '../service/localstorage.service.js' ...@@ -54,12 +54,13 @@ import localstorage from '../service/localstorage.service.js'
xiabiao:'', xiabiao:'',
itemSelect:'', itemSelect:'',
type:'', type:'',
hName: '', levelOneName: '',
vName: ['1-1', '2-1', '3-1', '4-1'], levelTwoName: ['1-1', '2-1', '3-1', '4-1'],
vSubName: '1-1-1', levelThreeName: '1-1-1',
menuList: [ menuList: [
{ name: '1', { name: '1',
item: '简历管理', item: '简历管理',
loadMenu: true,
child: [ child: [
{ {
name: '1-1', name: '1-1',
...@@ -107,10 +108,12 @@ import localstorage from '../service/localstorage.service.js' ...@@ -107,10 +108,12 @@ import localstorage from '../service/localstorage.service.js'
}, },
{ name: '4', { name: '4',
item: '系统管理', item: '系统管理',
isAdmin: true,
child: [{ child: [{
name: '4-1', name: '4-1',
item: '账户管理', item: '账户管理',
icon: 'ios-contact-outline', icon: 'ios-contact-outline',
show: true,
child: [{ child: [{
name: '4-1-1', name: '4-1-1',
item:'账户管理', item:'账户管理',
...@@ -136,8 +139,7 @@ import localstorage from '../service/localstorage.service.js' ...@@ -136,8 +139,7 @@ import localstorage from '../service/localstorage.service.js'
] }, ] },
], ],
childMenu: [{ name: '1-1', item: '全部管理', child: [{ name: '1-1-1', item:'全部简历', route: '/allResume' }] }, childMenu: []
{ name: '1-2', item: '渠道简历', child: [] }]
} }
}, },
watch:{ watch:{
...@@ -150,7 +152,7 @@ import localstorage from '../service/localstorage.service.js' ...@@ -150,7 +152,7 @@ import localstorage from '../service/localstorage.service.js'
}, },
methods: { methods: {
go(name) { go(name) {
this.vSubName = name this.levelThreeName = name
this.childMenu.map(par => { this.childMenu.map(par => {
par.child.map(child => { par.child.map(child => {
if (child.name == name) { if (child.name == name) {
...@@ -159,32 +161,33 @@ import localstorage from '../service/localstorage.service.js' ...@@ -159,32 +161,33 @@ import localstorage from '../service/localstorage.service.js'
}) })
}) })
}, },
selectMenu(name, type) { selectMenu(name, refesh) {
// type是否为刷新页面 // // refesh是否为刷新页面
this.hName = name this.levelOneName = name
const menus = this.menuList.filter(v => name === v.name) const menus = this.menuList.filter(v => name === v.name)[0]
this.childMenu = menus.length > 0 ? menus[0].child : [{ name: '1-1', item: '全部管理', child: [{ name: '1-1-1', item:'全部简历', route: '/allResume' }] },{ name: '1-2', item: '渠道简历', child: [] }] this.childMenu = menus.child ? menus.child : this.menuList[0].child
if (!type) { // 点击菜单默认展示第一个菜单 if (!refesh) { // 点击菜单默认展示第一个菜单
this.vName = [] this.levelTwoName = []
this.vName[0] = ((name == '4') && this.isAdmin && this.childMenu[0].name) || ((name == '4') && !this.isAdmin && this.childMenu[1].name) || this.childMenu[0].name let initName = this.getInitName(name, menus)
this.vSubName = ((name == '4') && this.isAdmin && this.childMenu[0].child[0].name) || ((name == '4') && !this.isAdmin && this.childMenu[1].child[0].name) || this.childMenu[0].child[0].name this.levelTwoName.push(initName.levelTwoName)
this.levelThreeName = initName.levelThreeName
} }
if (name == '1') { // 简历管理模块需要加载渠道简历 if (menus.loadMenu) { // 简历管理模块需要加载渠道简历
this.getChannelMenu() this.getChannelMenu()
} }
if (type&&this.$route.path.indexOf('channel') > -1) { if (refesh&&this.$route.path.indexOf('channel') > -1) {
this.vSubName = this.$route.path.split('/')[2] this.levelThreeName = this.$route.path.split('/')[2]
} }
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.subMenu.updateOpened(); this.$refs.subMenu.updateOpened();
this.$refs.subMenu.updateActiveName(); this.$refs.subMenu.updateActiveName();
}) })
this.go(this.vSubName) this.go(this.levelThreeName)
}, },
// 获取个人信息 // 获取个人信息
getmassage(){ getmassage(){
getpersonMassage().then(res=>{ getpersonMassage().then(res=>{
this.massage=res.data.body.userName this.massage=res.data.body&&res.data.body.userName || ''
}) })
}, },
// 用户退出 // 用户退出
...@@ -193,14 +196,17 @@ import localstorage from '../service/localstorage.service.js' ...@@ -193,14 +196,17 @@ import localstorage from '../service/localstorage.service.js'
if(res.data.success==true){ if(res.data.success==true){
localstorage.remove('token') localstorage.remove('token')
localstorage.remove('isADMIN') localstorage.remove('isADMIN')
this.$router.push('/login') this.$router.replace('/login')
} }
}) })
}, },
getChannelMenu(){ getChannelMenu(){
this.menuList[0].child[1].child = [] this.menuList[0].child[1].child = []
getChannelMassage().then(res=>{ getChannelMassage().then(res=>{
this.channelARR=res.data.body if (!res.data.status) {
return
}
this.channelARR=res.data.body || []
this.channelARR.map((item,index) => { this.channelARR.map((item,index) => {
var obj = { var obj = {
name: `${item.sourceName}`, name: `${item.sourceName}`,
...@@ -214,39 +220,66 @@ import localstorage from '../service/localstorage.service.js' ...@@ -214,39 +220,66 @@ import localstorage from '../service/localstorage.service.js'
getActiveName (change) { getActiveName (change) {
let pathName = this.$route.path let pathName = this.$route.path
if (pathName.indexOf('channel') > -1) { if (pathName.indexOf('channel') > -1) {
this.hName = '1' this.levelOneName = '1'
this.vSubName = pathName.split('/')[2] this.levelThreeName = pathName.split('/')[2]
this.vName = [] this.levelTwoName = []
this.vName.push('1-2') this.levelTwoName.push('1-2')
this.selectMenu(this.hName, 'refresh') this.selectMenu(this.levelOneName, 'refresh')
return return
} }
this.menuList.map(parent => { this.menuList.map(parent => {
parent.child.map(child => { parent.child.map(child => {
child.child.map(grandson => { child.child.map(grandson => {
if (grandson.route == pathName) { if (grandson.route == pathName) {
this.vSubName = grandson.name this.levelThreeName = grandson.name
this.hName = parent.name this.levelOneName = parent.name
this.vName = [] this.levelTwoName = []
this.vName.push(child.name) this.levelTwoName.push(child.name)
} }
}) })
}) })
}) })
this.selectMenu(this.hName, 'refresh') this.selectMenu(this.levelOneName, 'refresh')
},
getInitName (name, menu, child) {
// 超级管理员
let isAdmin = menu.isAdmin
let hightMenu = {
levelTwoName: '',
levelThreeName: ''
}
if (isAdmin || isAdmin == undefined) { // 默认展示一级菜单
hightMenu.levelTwoName = menu.child[0].name
hightMenu.levelThreeName = menu.child[0].child[0].name
} else if(isAdmin == false){ //展示二级菜单
hightMenu.levelTwoName = menu.child[1].name
hightMenu.levelThreeName = menu.child[1].child[0].name
}
return hightMenu
}, },
// 判断是否为超级管理员 // 判断是否为超级管理员
judgeadmin(){ judgeadmin(){
judeAdmin().then(res=>{ judeAdmin().then(res=>{
this.isAdmin=res.data.body this.isAdmin = res.data.body
this.menuList[3].isAdmin = this.isAdmin
}) })
},
goBack () {
this.getActiveName()
} }
}, },
mounted() { mounted() {
this.getmassage() this.getmassage()
this.getActiveName() this.getActiveName()
this.judgeadmin() this.judgeadmin()
if (window.history && window.history.pushState) {
history.pushState(null, null, document.URL);
window.addEventListener('popstate', this.goBack, false);
}
},
destroyed(){
window.removeEventListener('popstate', this.goBack, false);
} }
} }
</script> </script>
......
...@@ -444,6 +444,9 @@ export default { ...@@ -444,6 +444,9 @@ export default {
// 面试官查询 // 面试官查询
Serchlistinterview(){ Serchlistinterview(){
Serchinterviewor().then(res=>{ Serchinterviewor().then(res=>{
if (!res.data.status) {
return
}
this.Interviewer=res.data.body this.Interviewer=res.data.body
this.Interviewer.unshift('不限') this.Interviewer.unshift('不限')
}) })
...@@ -451,6 +454,9 @@ export default { ...@@ -451,6 +454,9 @@ export default {
// 邀约人查询 // 邀约人查询
SerchInvitation(){ SerchInvitation(){
SerchInvitationOwer().then(res=>{ SerchInvitationOwer().then(res=>{
if (!res.data.status) {
return
}
this.Inviter=res.data.body this.Inviter=res.data.body
this.Inviter.unshift('不限') this.Inviter.unshift('不限')
}) })
......
...@@ -30,7 +30,11 @@ export default new Router({ ...@@ -30,7 +30,11 @@ export default new Router({
}, { }, {
path: '/login', path: '/login',
name: 'login', name: 'login',
component: login,}, component: login,
meta: {
allowBack: false
}
},
{ {
path:'/update', path:'/update',
name:'update', name:'update',
......
...@@ -3,7 +3,8 @@ import Promise from './promise.service.js' ...@@ -3,7 +3,8 @@ import Promise from './promise.service.js'
import {Notice} from 'iview' import {Notice} from 'iview'
import Vue from 'vue' import Vue from 'vue'
import router from '../router/index.js' import router from '../router/index.js'
// axios.defaults.withCredentials = true import store from '../store'
var instance = axios.create({}); var instance = axios.create({});
instance.defaults.timeout = 3600000; instance.defaults.timeout = 3600000;
instance.defaults.withCredentials = true; instance.defaults.withCredentials = true;
...@@ -22,27 +23,31 @@ instance.interceptors.request.use(function (config) { ...@@ -22,27 +23,31 @@ instance.interceptors.request.use(function (config) {
}); });
instance.interceptors.response.use(function (response) { instance.interceptors.response.use(function (response) {
// 在发送请求之前做些什么 // 在发送请求之前做些什么
let errorInfo = {
'900': '您的账号已在其他地方登录,如不是您个人操作,请及时修改密码',
'901': '',
'902': 'cookie已失效,请重新登录'
}
if(response.status >= 200 && response.status < 300){ if(response.status >= 200 && response.status < 300){
if (response.data.body.code == '900'){ let code = response.data&&response.data.body&&response.data.body.code || ''
if (code == '900' || code == '901' || code == '902'){
if (!store.state.cookieTips && code != '901') {
store.dispatch('cookieTipsShow', true)
Notice.error({render:(h) => {return h('div', {style: { Notice.error({render:(h) => {return h('div', {style: {
paddingRight: '10px', paddingRight: '5px',
fontSize: '14px', fontSize: '14px',
lineHeight: '20px',
color: '#17233d' color: '#17233d'
}}, '您的账号已在其他地方登录,如不是您个人操作,请及时修改密码')}}) }}, errorInfo[code])}})
router.replace({name: 'login'}) setTimeout(() => {
store.dispatch('cookieTipsHide', false)
}, 2000)
} }
if (response.data.body.code == '901'){ // router.replace({name: 'login'})
router.replace({name: 'login'})
}
if (response.data.body.code == '902'){
Notice.error({title:'cookie已失效,请重新登录'})
router.replace({name: 'login'})
} }
if(response.data.success){ if(response.data.success){
return Promise.resolve(response) return Promise.resolve(response)
} }
else { else {
return Promise.resolve(response); return Promise.resolve(response);
} }
......
...@@ -3,14 +3,17 @@ export default{ ...@@ -3,14 +3,17 @@ export default{
init: function (router) { init: function (router) {
router.beforeEach((to, form, next) => { router.beforeEach((to, form, next) => {
let token = localstorage.get('token') let token = localstorage.get('token')
// if (to.name =='login' || to.name =='update' || to.name =='sweepCode'){ if (to.meta && !to.meta.allowBack && window.history && window.history.pushState) { //登录页面不能后退
// next() history.pushState(null, null, document.URL)
// return }
// } if (to.name =='login' || to.name =='update' || to.name =='sweepCode'){
// if(!token){ next()
// window.location.href = `${window.location.origin}/login` return
// return }
// } if(!token){
window.location.href = `${window.location.origin}/login`
return
}
next() next()
}) })
} }
......
action.js // // action.js
\ No newline at end of file import * as types from './muationsType'
let action = {
cookieTipsShow({commit}, value) {
commit(types.COOKIE_SHOW, value)
},
cookieTipsHide ({commit}, value) {
commit(types.COOKIE_HIDE, value)
}
}
export default action
\ No newline at end of file
index.js import Vuex from 'vuex'
\ No newline at end of file import Vue from 'vue'
import mutations from './mutations.js'
import actions from './actions.js'
Vue.use(Vuex)
const state = {
cookieTips: false
}
export default new Vuex.Store({
mutations,
actions,
state
})
\ No newline at end of file
export const COOKIE_SHOW = 'COOKIE_SHOW'
export const COOKIE_HIDE = 'COOKIE_HIDE'
mutations.js import {COOKIE_SHOW, COOKIE_HIDE} from './muationsType'
\ No newline at end of file export default {
[COOKIE_SHOW] (state, value) {
state.cookieTips = value || true
},
[COOKIE_HIDE](state, value) {
state.cookieTips = value || false
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
/**
* @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.toolbarGroups = [
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
{ name: 'styles', groups: [ 'styles' ] },
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
{ name: 'forms', groups: [ 'forms' ] },
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
{ name: 'links', groups: [ 'links' ] },
{ name: 'insert', groups: [ 'insert' ] },
{ name: 'colors', groups: [ 'colors' ] },
{ name: 'tools', groups: [ 'tools' ] },
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
{ name: 'others', groups: [ 'others' ] },
{ name: 'about', groups: [ 'about' ] }
];
config.removeDialogTabs = 'image:advanced;link:advanced';
config.removePlugins = 'elementspath,resize'; // 移除编辑器底部状态栏显示的元素路径和调整编辑器大小的按钮
config.image_previewText = ' '; // 图片信息面板预览区内容的文字内容,默认显示CKEditor自带的内容
config.removeDialogTabs = 'image:advanced;image:Link'; // 移除图片上传页面的'高级','链接'页签
config.removeButtons = 'Cut,Copy,Paste,PasteText,PasteFromWord,Source,Save,Templates,NewPage,Preview,Print,About,ShowBlocks,Flash,PageBreak,Iframe,Anchor,SelectAll,BidiLtr,BidiRtl,Language,CreateDiv,Superscript,Subscript,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,Find,Replace';
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment