Commit 5442d286 authored by 赵啸非's avatar 赵啸非

修改菜单切换

parent 11000e35
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
"json-bigint": "^0.3.0", "json-bigint": "^0.3.0",
"jwt-decode": "3.1.2", "jwt-decode": "3.1.2",
"moment": "^2.29.4", "moment": "^2.29.4",
"muse-ui": "^3.0.2",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"quill": "1.3.7", "quill": "1.3.7",
"screenfull": "5.0.2", "screenfull": "5.0.2",
...@@ -41,10 +40,12 @@ ...@@ -41,10 +40,12 @@
"vuex": "3.6.0" "vuex": "3.6.0"
}, },
"devDependencies": { "devDependencies": {
"@vue/babel-plugin-transform-vue-jsx": "^1.4.0",
"@vue/cli-plugin-babel": "4.4.6", "@vue/cli-plugin-babel": "4.4.6",
"@vue/cli-plugin-eslint": "4.4.6", "@vue/cli-plugin-eslint": "4.4.6",
"@vue/cli-service": "4.4.6", "@vue/cli-service": "4.4.6",
"babel-eslint": "10.1.0", "babel-eslint": "10.1.0",
"babel-plugin-jsx-v-model": "^2.0.3",
"chalk": "4.1.0", "chalk": "4.1.0",
"connect": "3.6.6", "connect": "3.6.6",
"eslint": "7.15.0", "eslint": "7.15.0",
...@@ -2105,10 +2106,9 @@ ...@@ -2105,10 +2106,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@vue/babel-helper-vue-jsx-merge-props": { "node_modules/@vue/babel-helper-vue-jsx-merge-props": {
"version": "1.2.1", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-helper-vue-jsx-merge-props/download/@vue/babel-helper-vue-jsx-merge-props-1.2.1.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.4.0.tgz",
"integrity": "sha1-MWJKelBfsU2h1YAjclpMXycOaoE=", "integrity": "sha512-JkqXfCkUDp4PIlFdDQ0TdXoIejMtTHP67/pvxlgeY+u5k3LEdKuWZ3LK6xkxo52uDoABIVyRwqVkfLQJhk7VBA=="
"license": "MIT"
}, },
"node_modules/@vue/babel-helper-vue-transform-on": { "node_modules/@vue/babel-helper-vue-transform-on": {
"version": "1.0.2", "version": "1.0.2",
...@@ -2155,14 +2155,13 @@ ...@@ -2155,14 +2155,13 @@
} }
}, },
"node_modules/@vue/babel-plugin-transform-vue-jsx": { "node_modules/@vue/babel-plugin-transform-vue-jsx": {
"version": "1.2.1", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-plugin-transform-vue-jsx/download/@vue/babel-plugin-transform-vue-jsx-1.2.1.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-plugin-transform-vue-jsx/-/babel-plugin-transform-vue-jsx-1.4.0.tgz",
"integrity": "sha1-ZGBGxlLC8CQnJ/NFGdkXsGQEHtc=", "integrity": "sha512-Fmastxw4MMx0vlgLS4XBX0XiBbUFzoMGeVXuMV08wyOfXdikAFqBTuYPR0tlk+XskL19EzHc39SgjrPGY23JnA==",
"license": "MIT",
"dependencies": { "dependencies": {
"@babel/helper-module-imports": "^7.0.0", "@babel/helper-module-imports": "^7.0.0",
"@babel/plugin-syntax-jsx": "^7.2.0", "@babel/plugin-syntax-jsx": "^7.2.0",
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1", "@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
"html-tags": "^2.0.0", "html-tags": "^2.0.0",
"lodash.kebabcase": "^4.1.1", "lodash.kebabcase": "^4.1.1",
"svg-tags": "^1.0.0" "svg-tags": "^1.0.0"
...@@ -2218,29 +2217,33 @@ ...@@ -2218,29 +2217,33 @@
} }
}, },
"node_modules/@vue/babel-preset-jsx": { "node_modules/@vue/babel-preset-jsx": {
"version": "1.2.4", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-preset-jsx/download/@vue/babel-preset-jsx-1.2.4.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-preset-jsx/-/babel-preset-jsx-1.4.0.tgz",
"integrity": "sha1-kv6nnbbxOwHoDToAmeKSS9y+Toc=", "integrity": "sha512-QmfRpssBOPZWL5xw7fOuHNifCQcNQC1PrOo/4fu6xlhlKJJKSA3HqX92Nvgyx8fqHZTUGMPHmFA+IDqwXlqkSA==",
"license": "MIT", "dependencies": {
"dependencies": { "@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1", "@vue/babel-plugin-transform-vue-jsx": "^1.4.0",
"@vue/babel-plugin-transform-vue-jsx": "^1.2.1", "@vue/babel-sugar-composition-api-inject-h": "^1.4.0",
"@vue/babel-sugar-composition-api-inject-h": "^1.2.1", "@vue/babel-sugar-composition-api-render-instance": "^1.4.0",
"@vue/babel-sugar-composition-api-render-instance": "^1.2.4", "@vue/babel-sugar-functional-vue": "^1.4.0",
"@vue/babel-sugar-functional-vue": "^1.2.2", "@vue/babel-sugar-inject-h": "^1.4.0",
"@vue/babel-sugar-inject-h": "^1.2.2", "@vue/babel-sugar-v-model": "^1.4.0",
"@vue/babel-sugar-v-model": "^1.2.3", "@vue/babel-sugar-v-on": "^1.4.0"
"@vue/babel-sugar-v-on": "^1.2.3"
}, },
"peerDependencies": { "peerDependencies": {
"@babel/core": "^7.0.0-0" "@babel/core": "^7.0.0-0",
"vue": "*"
},
"peerDependenciesMeta": {
"vue": {
"optional": true
}
} }
}, },
"node_modules/@vue/babel-sugar-composition-api-inject-h": { "node_modules/@vue/babel-sugar-composition-api-inject-h": {
"version": "1.2.1", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-sugar-composition-api-inject-h/download/@vue/babel-sugar-composition-api-inject-h-1.2.1.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-sugar-composition-api-inject-h/-/babel-sugar-composition-api-inject-h-1.4.0.tgz",
"integrity": "sha1-BdbgxDJxDjdYKyvppgSbaJtvA+s=", "integrity": "sha512-VQq6zEddJHctnG4w3TfmlVp5FzDavUSut/DwR0xVoe/mJKXyMcsIibL42wPntozITEoY90aBV0/1d2KjxHU52g==",
"license": "MIT",
"dependencies": { "dependencies": {
"@babel/plugin-syntax-jsx": "^7.2.0" "@babel/plugin-syntax-jsx": "^7.2.0"
}, },
...@@ -2249,10 +2252,9 @@ ...@@ -2249,10 +2252,9 @@
} }
}, },
"node_modules/@vue/babel-sugar-composition-api-render-instance": { "node_modules/@vue/babel-sugar-composition-api-render-instance": {
"version": "1.2.4", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-sugar-composition-api-render-instance/download/@vue/babel-sugar-composition-api-render-instance-1.2.4.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-sugar-composition-api-render-instance/-/babel-sugar-composition-api-render-instance-1.4.0.tgz",
"integrity": "sha1-5MvGmXw0T6wnF4WteikyXFHWjRk=", "integrity": "sha512-6ZDAzcxvy7VcnCjNdHJ59mwK02ZFuP5CnucloidqlZwVQv5CQLijc3lGpR7MD3TWFi78J7+a8J56YxbCtHgT9Q==",
"license": "MIT",
"dependencies": { "dependencies": {
"@babel/plugin-syntax-jsx": "^7.2.0" "@babel/plugin-syntax-jsx": "^7.2.0"
}, },
...@@ -2261,10 +2263,9 @@ ...@@ -2261,10 +2263,9 @@
} }
}, },
"node_modules/@vue/babel-sugar-functional-vue": { "node_modules/@vue/babel-sugar-functional-vue": {
"version": "1.2.2", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-sugar-functional-vue/download/@vue/babel-sugar-functional-vue-1.2.2.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-sugar-functional-vue/-/babel-sugar-functional-vue-1.4.0.tgz",
"integrity": "sha1-JnqayNeHyW7b8Dzj85LEnam9Jlg=", "integrity": "sha512-lTEB4WUFNzYt2In6JsoF9sAYVTo84wC4e+PoZWSgM6FUtqRJz7wMylaEhSRgG71YF+wfLD6cc9nqVeXN2rwBvw==",
"license": "MIT",
"dependencies": { "dependencies": {
"@babel/plugin-syntax-jsx": "^7.2.0" "@babel/plugin-syntax-jsx": "^7.2.0"
}, },
...@@ -2273,10 +2274,9 @@ ...@@ -2273,10 +2274,9 @@
} }
}, },
"node_modules/@vue/babel-sugar-inject-h": { "node_modules/@vue/babel-sugar-inject-h": {
"version": "1.2.2", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-sugar-inject-h/download/@vue/babel-sugar-inject-h-1.2.2.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-sugar-inject-h/-/babel-sugar-inject-h-1.4.0.tgz",
"integrity": "sha1-1zjTyJM2fshJHcu2abAAkZKT46o=", "integrity": "sha512-muwWrPKli77uO2fFM7eA3G1lAGnERuSz2NgAxuOLzrsTlQl8W4G+wwbM4nB6iewlKbwKRae3nL03UaF5ffAPMA==",
"license": "MIT",
"dependencies": { "dependencies": {
"@babel/plugin-syntax-jsx": "^7.2.0" "@babel/plugin-syntax-jsx": "^7.2.0"
}, },
...@@ -2285,14 +2285,13 @@ ...@@ -2285,14 +2285,13 @@
} }
}, },
"node_modules/@vue/babel-sugar-v-model": { "node_modules/@vue/babel-sugar-v-model": {
"version": "1.2.3", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-sugar-v-model/download/@vue/babel-sugar-v-model-1.2.3.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-sugar-v-model/-/babel-sugar-v-model-1.4.0.tgz",
"integrity": "sha1-+h8pulHr8KoabDX6ZtU5vEWaGPI=", "integrity": "sha512-0t4HGgXb7WHYLBciZzN5s0Hzqan4Ue+p/3FdQdcaHAb7s5D9WZFGoSxEZHrR1TFVZlAPu1bejTKGeAzaaG3NCQ==",
"license": "MIT",
"dependencies": { "dependencies": {
"@babel/plugin-syntax-jsx": "^7.2.0", "@babel/plugin-syntax-jsx": "^7.2.0",
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1", "@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
"@vue/babel-plugin-transform-vue-jsx": "^1.2.1", "@vue/babel-plugin-transform-vue-jsx": "^1.4.0",
"camelcase": "^5.0.0", "camelcase": "^5.0.0",
"html-tags": "^2.0.0", "html-tags": "^2.0.0",
"svg-tags": "^1.0.0" "svg-tags": "^1.0.0"
...@@ -2302,13 +2301,12 @@ ...@@ -2302,13 +2301,12 @@
} }
}, },
"node_modules/@vue/babel-sugar-v-on": { "node_modules/@vue/babel-sugar-v-on": {
"version": "1.2.3", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-sugar-v-on/download/@vue/babel-sugar-v-on-1.2.3.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-sugar-v-on/-/babel-sugar-v-on-1.4.0.tgz",
"integrity": "sha1-NCNnF4WGpp85LwS/ujICHQKROto=", "integrity": "sha512-m+zud4wKLzSKgQrWwhqRObWzmTuyzl6vOP7024lrpeJM4x2UhQtRDLgYjXAw9xBXjCwS0pP9kXjg91F9ZNo9JA==",
"license": "MIT",
"dependencies": { "dependencies": {
"@babel/plugin-syntax-jsx": "^7.2.0", "@babel/plugin-syntax-jsx": "^7.2.0",
"@vue/babel-plugin-transform-vue-jsx": "^1.2.1", "@vue/babel-plugin-transform-vue-jsx": "^1.4.0",
"camelcase": "^5.0.0" "camelcase": "^5.0.0"
}, },
"peerDependencies": { "peerDependencies": {
...@@ -3427,9 +3425,8 @@ ...@@ -3427,9 +3425,8 @@
}, },
"node_modules/babel-helper-vue-jsx-merge-props": { "node_modules/babel-helper-vue-jsx-merge-props": {
"version": "2.0.3", "version": "2.0.3",
"resolved": "https://registry.nlark.com/babel-helper-vue-jsx-merge-props/download/babel-helper-vue-jsx-merge-props-2.0.3.tgz", "resolved": "https://registry.npmmirror.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz",
"integrity": "sha1-Iq69OzOQIyjlEyk6jkmSs4T58bY=", "integrity": "sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg=="
"license": "MIT"
}, },
"node_modules/babel-loader": { "node_modules/babel-loader": {
"version": "8.2.2", "version": "8.2.2",
...@@ -3495,6 +3492,17 @@ ...@@ -3495,6 +3492,17 @@
"object.assign": "^4.1.0" "object.assign": "^4.1.0"
} }
}, },
"node_modules/babel-plugin-jsx-v-model": {
"version": "2.0.3",
"resolved": "https://registry.npmmirror.com/babel-plugin-jsx-v-model/-/babel-plugin-jsx-v-model-2.0.3.tgz",
"integrity": "sha512-SIx3Y3XxwGEz56Q1atwr5GaZsxJ2IRYmn5dl38LFkaTAvjnbNQxsZHO+ylJPsd+Hmv+ixJBYYFEekPBTHwiGfQ==",
"dev": true,
"dependencies": {
"babel-plugin-syntax-jsx": "^6.18.0",
"html-tags": "^2.0.0",
"svg-tags": "^1.0.0"
}
},
"node_modules/babel-plugin-polyfill-corejs2": { "node_modules/babel-plugin-polyfill-corejs2": {
"version": "0.2.2", "version": "0.2.2",
"resolved": "https://registry.nlark.com/babel-plugin-polyfill-corejs2/download/babel-plugin-polyfill-corejs2-0.2.2.tgz?cache=0&sync_timestamp=1622024057197&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fbabel-plugin-polyfill-corejs2%2Fdownload%2Fbabel-plugin-polyfill-corejs2-0.2.2.tgz", "resolved": "https://registry.nlark.com/babel-plugin-polyfill-corejs2/download/babel-plugin-polyfill-corejs2-0.2.2.tgz?cache=0&sync_timestamp=1622024057197&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fbabel-plugin-polyfill-corejs2%2Fdownload%2Fbabel-plugin-polyfill-corejs2-0.2.2.tgz",
...@@ -3534,6 +3542,12 @@ ...@@ -3534,6 +3542,12 @@
"@babel/core": "^7.0.0-0" "@babel/core": "^7.0.0-0"
} }
}, },
"node_modules/babel-plugin-syntax-jsx": {
"version": "6.18.0",
"resolved": "https://registry.npmmirror.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz",
"integrity": "sha512-qrPaCSo9c8RHNRHIotaufGbuOBN8rtdC4QrrFFc43vyWCCz7Kl7GL1PGaXtMGQZUXrkCjNEgxDfmAuAabr/rlw==",
"dev": true
},
"node_modules/babel-runtime": { "node_modules/babel-runtime": {
"version": "6.26.0", "version": "6.26.0",
"resolved": "https://registry.nlark.com/babel-runtime/download/babel-runtime-6.26.0.tgz?cache=0&sync_timestamp=1618911095190&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fbabel-runtime%2Fdownload%2Fbabel-runtime-6.26.0.tgz", "resolved": "https://registry.nlark.com/babel-runtime/download/babel-runtime-6.26.0.tgz?cache=0&sync_timestamp=1618911095190&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fbabel-runtime%2Fdownload%2Fbabel-runtime-6.26.0.tgz",
...@@ -3724,11 +3738,6 @@ ...@@ -3724,11 +3738,6 @@
"ms": "2.0.0" "ms": "2.0.0"
} }
}, },
"node_modules/body-scroll-lock": {
"version": "2.7.1",
"resolved": "https://registry.npmmirror.com/body-scroll-lock/-/body-scroll-lock-2.7.1.tgz",
"integrity": "sha512-hS53SQ8RhM0e4DsQ3PKz6Gr2O7Kpdh59TWU98GHjaQznL7y4dFycEPk7pFQAikqBaUSCArkc5E3pe7CWIt2fZA=="
},
"node_modules/bonjour": { "node_modules/bonjour": {
"version": "3.5.0", "version": "3.5.0",
"resolved": "https://registry.nlark.com/bonjour/download/bonjour-3.5.0.tgz", "resolved": "https://registry.nlark.com/bonjour/download/bonjour-3.5.0.tgz",
...@@ -5756,11 +5765,6 @@ ...@@ -5756,11 +5765,6 @@
"node": ">=0.10" "node": ">=0.10"
} }
}, },
"node_modules/dayjs": {
"version": "1.11.3",
"resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.3.tgz",
"integrity": "sha512-xxwlswWOlGhzgQ4TKzASQkUhqERI3egRNqgV4ScR8wlANA/A9tZ7miXa44vTTKEq5l7vWoL5G57bG3zA+Kow0A=="
},
"node_modules/de-indent": { "node_modules/de-indent": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.nlark.com/de-indent/download/de-indent-1.0.2.tgz", "resolved": "https://registry.nlark.com/de-indent/download/de-indent-1.0.2.tgz",
...@@ -8392,9 +8396,8 @@ ...@@ -8392,9 +8396,8 @@
}, },
"node_modules/html-tags": { "node_modules/html-tags": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.nlark.com/html-tags/download/html-tags-2.0.0.tgz", "resolved": "https://registry.npmmirror.com/html-tags/-/html-tags-2.0.0.tgz",
"integrity": "sha1-ELMKOGCF9Dzt41PMj6fLDe7qZos=", "integrity": "sha512-+Il6N8cCo2wB/Vd3gqy/8TZhTD3QvcVeQLCnZiGkGCH3JP28IgGAY41giccp2W4R3jfyJPAP318FQTa1yU7K7g==",
"license": "MIT",
"engines": { "engines": {
"node": ">=4" "node": ">=4"
} }
...@@ -9724,11 +9727,6 @@ ...@@ -9724,11 +9727,6 @@
"resolved": "https://registry.npmmirror.com/jwt-decode/-/jwt-decode-3.1.2.tgz", "resolved": "https://registry.npmmirror.com/jwt-decode/-/jwt-decode-3.1.2.tgz",
"integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A=="
}, },
"node_modules/keycode": {
"version": "2.2.1",
"resolved": "https://registry.npmmirror.com/keycode/-/keycode-2.2.1.tgz",
"integrity": "sha512-Rdgz9Hl9Iv4QKi8b0OlCRQEzp4AgVxyCtz5S/+VIHezDmrDhkp2N2TqBWOLz0/gbeREXOOiI9/4b8BY9uw2vFg=="
},
"node_modules/killable": { "node_modules/killable": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.nlark.com/killable/download/killable-1.0.1.tgz", "resolved": "https://registry.nlark.com/killable/download/killable-1.0.1.tgz",
...@@ -10254,9 +10252,8 @@ ...@@ -10254,9 +10252,8 @@
}, },
"node_modules/lodash.kebabcase": { "node_modules/lodash.kebabcase": {
"version": "4.1.1", "version": "4.1.1",
"resolved": "https://registry.nlark.com/lodash.kebabcase/download/lodash.kebabcase-4.1.1.tgz", "resolved": "https://registry.npmmirror.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz",
"integrity": "sha1-hImxyw0p/4gZXM7KRI/21swpXDY=", "integrity": "sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g=="
"license": "MIT"
}, },
"node_modules/lodash.mapvalues": { "node_modules/lodash.mapvalues": {
"version": "4.6.0", "version": "4.6.0",
...@@ -10981,21 +10978,6 @@ ...@@ -10981,21 +10978,6 @@
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/muse-ui": {
"version": "3.0.2",
"resolved": "https://registry.npmmirror.com/muse-ui/-/muse-ui-3.0.2.tgz",
"integrity": "sha512-oIH8wEKQqXA6xbb3HzprxC2xoF7P8G01uvF+Jhs6VtbxQjO7VVkKKFu2Mb2NmhX3mMU2EBCgE8wlTU29ffjkPA==",
"dependencies": {
"body-scroll-lock": "^2.6.1",
"dayjs": "^1.8.2",
"keycode": "^2.1.9",
"normalize-wheel": "^1.0.1",
"resize-observer-polyfill": "^1.5.0"
},
"peerDependencies": {
"vue": "^2.5.0"
}
},
"node_modules/mute-stream": { "node_modules/mute-stream": {
"version": "0.0.8", "version": "0.0.8",
"resolved": "https://registry.nlark.com/mute-stream/download/mute-stream-0.0.8.tgz", "resolved": "https://registry.nlark.com/mute-stream/download/mute-stream-0.0.8.tgz",
...@@ -19107,9 +19089,9 @@ ...@@ -19107,9 +19089,9 @@
"dev": true "dev": true
}, },
"@vue/babel-helper-vue-jsx-merge-props": { "@vue/babel-helper-vue-jsx-merge-props": {
"version": "1.2.1", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-helper-vue-jsx-merge-props/download/@vue/babel-helper-vue-jsx-merge-props-1.2.1.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.4.0.tgz",
"integrity": "sha1-MWJKelBfsU2h1YAjclpMXycOaoE=" "integrity": "sha512-JkqXfCkUDp4PIlFdDQ0TdXoIejMtTHP67/pvxlgeY+u5k3LEdKuWZ3LK6xkxo52uDoABIVyRwqVkfLQJhk7VBA=="
}, },
"@vue/babel-helper-vue-transform-on": { "@vue/babel-helper-vue-transform-on": {
"version": "1.0.2", "version": "1.0.2",
...@@ -19145,13 +19127,13 @@ ...@@ -19145,13 +19127,13 @@
} }
}, },
"@vue/babel-plugin-transform-vue-jsx": { "@vue/babel-plugin-transform-vue-jsx": {
"version": "1.2.1", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-plugin-transform-vue-jsx/download/@vue/babel-plugin-transform-vue-jsx-1.2.1.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-plugin-transform-vue-jsx/-/babel-plugin-transform-vue-jsx-1.4.0.tgz",
"integrity": "sha1-ZGBGxlLC8CQnJ/NFGdkXsGQEHtc=", "integrity": "sha512-Fmastxw4MMx0vlgLS4XBX0XiBbUFzoMGeVXuMV08wyOfXdikAFqBTuYPR0tlk+XskL19EzHc39SgjrPGY23JnA==",
"requires": { "requires": {
"@babel/helper-module-imports": "^7.0.0", "@babel/helper-module-imports": "^7.0.0",
"@babel/plugin-syntax-jsx": "^7.2.0", "@babel/plugin-syntax-jsx": "^7.2.0",
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1", "@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
"html-tags": "^2.0.0", "html-tags": "^2.0.0",
"lodash.kebabcase": "^4.1.1", "lodash.kebabcase": "^4.1.1",
"svg-tags": "^1.0.0" "svg-tags": "^1.0.0"
...@@ -19186,72 +19168,72 @@ ...@@ -19186,72 +19168,72 @@
} }
}, },
"@vue/babel-preset-jsx": { "@vue/babel-preset-jsx": {
"version": "1.2.4", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-preset-jsx/download/@vue/babel-preset-jsx-1.2.4.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-preset-jsx/-/babel-preset-jsx-1.4.0.tgz",
"integrity": "sha1-kv6nnbbxOwHoDToAmeKSS9y+Toc=", "integrity": "sha512-QmfRpssBOPZWL5xw7fOuHNifCQcNQC1PrOo/4fu6xlhlKJJKSA3HqX92Nvgyx8fqHZTUGMPHmFA+IDqwXlqkSA==",
"requires": { "requires": {
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1", "@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
"@vue/babel-plugin-transform-vue-jsx": "^1.2.1", "@vue/babel-plugin-transform-vue-jsx": "^1.4.0",
"@vue/babel-sugar-composition-api-inject-h": "^1.2.1", "@vue/babel-sugar-composition-api-inject-h": "^1.4.0",
"@vue/babel-sugar-composition-api-render-instance": "^1.2.4", "@vue/babel-sugar-composition-api-render-instance": "^1.4.0",
"@vue/babel-sugar-functional-vue": "^1.2.2", "@vue/babel-sugar-functional-vue": "^1.4.0",
"@vue/babel-sugar-inject-h": "^1.2.2", "@vue/babel-sugar-inject-h": "^1.4.0",
"@vue/babel-sugar-v-model": "^1.2.3", "@vue/babel-sugar-v-model": "^1.4.0",
"@vue/babel-sugar-v-on": "^1.2.3" "@vue/babel-sugar-v-on": "^1.4.0"
} }
}, },
"@vue/babel-sugar-composition-api-inject-h": { "@vue/babel-sugar-composition-api-inject-h": {
"version": "1.2.1", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-sugar-composition-api-inject-h/download/@vue/babel-sugar-composition-api-inject-h-1.2.1.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-sugar-composition-api-inject-h/-/babel-sugar-composition-api-inject-h-1.4.0.tgz",
"integrity": "sha1-BdbgxDJxDjdYKyvppgSbaJtvA+s=", "integrity": "sha512-VQq6zEddJHctnG4w3TfmlVp5FzDavUSut/DwR0xVoe/mJKXyMcsIibL42wPntozITEoY90aBV0/1d2KjxHU52g==",
"requires": { "requires": {
"@babel/plugin-syntax-jsx": "^7.2.0" "@babel/plugin-syntax-jsx": "^7.2.0"
} }
}, },
"@vue/babel-sugar-composition-api-render-instance": { "@vue/babel-sugar-composition-api-render-instance": {
"version": "1.2.4", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-sugar-composition-api-render-instance/download/@vue/babel-sugar-composition-api-render-instance-1.2.4.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-sugar-composition-api-render-instance/-/babel-sugar-composition-api-render-instance-1.4.0.tgz",
"integrity": "sha1-5MvGmXw0T6wnF4WteikyXFHWjRk=", "integrity": "sha512-6ZDAzcxvy7VcnCjNdHJ59mwK02ZFuP5CnucloidqlZwVQv5CQLijc3lGpR7MD3TWFi78J7+a8J56YxbCtHgT9Q==",
"requires": { "requires": {
"@babel/plugin-syntax-jsx": "^7.2.0" "@babel/plugin-syntax-jsx": "^7.2.0"
} }
}, },
"@vue/babel-sugar-functional-vue": { "@vue/babel-sugar-functional-vue": {
"version": "1.2.2", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-sugar-functional-vue/download/@vue/babel-sugar-functional-vue-1.2.2.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-sugar-functional-vue/-/babel-sugar-functional-vue-1.4.0.tgz",
"integrity": "sha1-JnqayNeHyW7b8Dzj85LEnam9Jlg=", "integrity": "sha512-lTEB4WUFNzYt2In6JsoF9sAYVTo84wC4e+PoZWSgM6FUtqRJz7wMylaEhSRgG71YF+wfLD6cc9nqVeXN2rwBvw==",
"requires": { "requires": {
"@babel/plugin-syntax-jsx": "^7.2.0" "@babel/plugin-syntax-jsx": "^7.2.0"
} }
}, },
"@vue/babel-sugar-inject-h": { "@vue/babel-sugar-inject-h": {
"version": "1.2.2", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-sugar-inject-h/download/@vue/babel-sugar-inject-h-1.2.2.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-sugar-inject-h/-/babel-sugar-inject-h-1.4.0.tgz",
"integrity": "sha1-1zjTyJM2fshJHcu2abAAkZKT46o=", "integrity": "sha512-muwWrPKli77uO2fFM7eA3G1lAGnERuSz2NgAxuOLzrsTlQl8W4G+wwbM4nB6iewlKbwKRae3nL03UaF5ffAPMA==",
"requires": { "requires": {
"@babel/plugin-syntax-jsx": "^7.2.0" "@babel/plugin-syntax-jsx": "^7.2.0"
} }
}, },
"@vue/babel-sugar-v-model": { "@vue/babel-sugar-v-model": {
"version": "1.2.3", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-sugar-v-model/download/@vue/babel-sugar-v-model-1.2.3.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-sugar-v-model/-/babel-sugar-v-model-1.4.0.tgz",
"integrity": "sha1-+h8pulHr8KoabDX6ZtU5vEWaGPI=", "integrity": "sha512-0t4HGgXb7WHYLBciZzN5s0Hzqan4Ue+p/3FdQdcaHAb7s5D9WZFGoSxEZHrR1TFVZlAPu1bejTKGeAzaaG3NCQ==",
"requires": { "requires": {
"@babel/plugin-syntax-jsx": "^7.2.0", "@babel/plugin-syntax-jsx": "^7.2.0",
"@vue/babel-helper-vue-jsx-merge-props": "^1.2.1", "@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
"@vue/babel-plugin-transform-vue-jsx": "^1.2.1", "@vue/babel-plugin-transform-vue-jsx": "^1.4.0",
"camelcase": "^5.0.0", "camelcase": "^5.0.0",
"html-tags": "^2.0.0", "html-tags": "^2.0.0",
"svg-tags": "^1.0.0" "svg-tags": "^1.0.0"
} }
}, },
"@vue/babel-sugar-v-on": { "@vue/babel-sugar-v-on": {
"version": "1.2.3", "version": "1.4.0",
"resolved": "https://registry.nlark.com/@vue/babel-sugar-v-on/download/@vue/babel-sugar-v-on-1.2.3.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-sugar-v-on/-/babel-sugar-v-on-1.4.0.tgz",
"integrity": "sha1-NCNnF4WGpp85LwS/ujICHQKROto=", "integrity": "sha512-m+zud4wKLzSKgQrWwhqRObWzmTuyzl6vOP7024lrpeJM4x2UhQtRDLgYjXAw9xBXjCwS0pP9kXjg91F9ZNo9JA==",
"requires": { "requires": {
"@babel/plugin-syntax-jsx": "^7.2.0", "@babel/plugin-syntax-jsx": "^7.2.0",
"@vue/babel-plugin-transform-vue-jsx": "^1.2.1", "@vue/babel-plugin-transform-vue-jsx": "^1.4.0",
"camelcase": "^5.0.0" "camelcase": "^5.0.0"
} }
}, },
...@@ -20086,8 +20068,8 @@ ...@@ -20086,8 +20068,8 @@
}, },
"babel-helper-vue-jsx-merge-props": { "babel-helper-vue-jsx-merge-props": {
"version": "2.0.3", "version": "2.0.3",
"resolved": "https://registry.nlark.com/babel-helper-vue-jsx-merge-props/download/babel-helper-vue-jsx-merge-props-2.0.3.tgz", "resolved": "https://registry.npmmirror.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz",
"integrity": "sha1-Iq69OzOQIyjlEyk6jkmSs4T58bY=" "integrity": "sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg=="
}, },
"babel-loader": { "babel-loader": {
"version": "8.2.2", "version": "8.2.2",
...@@ -20131,6 +20113,17 @@ ...@@ -20131,6 +20113,17 @@
"object.assign": "^4.1.0" "object.assign": "^4.1.0"
} }
}, },
"babel-plugin-jsx-v-model": {
"version": "2.0.3",
"resolved": "https://registry.npmmirror.com/babel-plugin-jsx-v-model/-/babel-plugin-jsx-v-model-2.0.3.tgz",
"integrity": "sha512-SIx3Y3XxwGEz56Q1atwr5GaZsxJ2IRYmn5dl38LFkaTAvjnbNQxsZHO+ylJPsd+Hmv+ixJBYYFEekPBTHwiGfQ==",
"dev": true,
"requires": {
"babel-plugin-syntax-jsx": "^6.18.0",
"html-tags": "^2.0.0",
"svg-tags": "^1.0.0"
}
},
"babel-plugin-polyfill-corejs2": { "babel-plugin-polyfill-corejs2": {
"version": "0.2.2", "version": "0.2.2",
"resolved": "https://registry.nlark.com/babel-plugin-polyfill-corejs2/download/babel-plugin-polyfill-corejs2-0.2.2.tgz?cache=0&sync_timestamp=1622024057197&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fbabel-plugin-polyfill-corejs2%2Fdownload%2Fbabel-plugin-polyfill-corejs2-0.2.2.tgz", "resolved": "https://registry.nlark.com/babel-plugin-polyfill-corejs2/download/babel-plugin-polyfill-corejs2-0.2.2.tgz?cache=0&sync_timestamp=1622024057197&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fbabel-plugin-polyfill-corejs2%2Fdownload%2Fbabel-plugin-polyfill-corejs2-0.2.2.tgz",
...@@ -20158,6 +20151,12 @@ ...@@ -20158,6 +20151,12 @@
"@babel/helper-define-polyfill-provider": "^0.2.2" "@babel/helper-define-polyfill-provider": "^0.2.2"
} }
}, },
"babel-plugin-syntax-jsx": {
"version": "6.18.0",
"resolved": "https://registry.npmmirror.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz",
"integrity": "sha512-qrPaCSo9c8RHNRHIotaufGbuOBN8rtdC4QrrFFc43vyWCCz7Kl7GL1PGaXtMGQZUXrkCjNEgxDfmAuAabr/rlw==",
"dev": true
},
"babel-runtime": { "babel-runtime": {
"version": "6.26.0", "version": "6.26.0",
"resolved": "https://registry.nlark.com/babel-runtime/download/babel-runtime-6.26.0.tgz?cache=0&sync_timestamp=1618911095190&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fbabel-runtime%2Fdownload%2Fbabel-runtime-6.26.0.tgz", "resolved": "https://registry.nlark.com/babel-runtime/download/babel-runtime-6.26.0.tgz?cache=0&sync_timestamp=1618911095190&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fbabel-runtime%2Fdownload%2Fbabel-runtime-6.26.0.tgz",
...@@ -20301,11 +20300,6 @@ ...@@ -20301,11 +20300,6 @@
} }
} }
}, },
"body-scroll-lock": {
"version": "2.7.1",
"resolved": "https://registry.npmmirror.com/body-scroll-lock/-/body-scroll-lock-2.7.1.tgz",
"integrity": "sha512-hS53SQ8RhM0e4DsQ3PKz6Gr2O7Kpdh59TWU98GHjaQznL7y4dFycEPk7pFQAikqBaUSCArkc5E3pe7CWIt2fZA=="
},
"bonjour": { "bonjour": {
"version": "3.5.0", "version": "3.5.0",
"resolved": "https://registry.nlark.com/bonjour/download/bonjour-3.5.0.tgz", "resolved": "https://registry.nlark.com/bonjour/download/bonjour-3.5.0.tgz",
...@@ -21858,11 +21852,6 @@ ...@@ -21858,11 +21852,6 @@
"assert-plus": "^1.0.0" "assert-plus": "^1.0.0"
} }
}, },
"dayjs": {
"version": "1.11.3",
"resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.3.tgz",
"integrity": "sha512-xxwlswWOlGhzgQ4TKzASQkUhqERI3egRNqgV4ScR8wlANA/A9tZ7miXa44vTTKEq5l7vWoL5G57bG3zA+Kow0A=="
},
"de-indent": { "de-indent": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.nlark.com/de-indent/download/de-indent-1.0.2.tgz", "resolved": "https://registry.nlark.com/de-indent/download/de-indent-1.0.2.tgz",
...@@ -23816,8 +23805,8 @@ ...@@ -23816,8 +23805,8 @@
}, },
"html-tags": { "html-tags": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.nlark.com/html-tags/download/html-tags-2.0.0.tgz", "resolved": "https://registry.npmmirror.com/html-tags/-/html-tags-2.0.0.tgz",
"integrity": "sha1-ELMKOGCF9Dzt41PMj6fLDe7qZos=" "integrity": "sha512-+Il6N8cCo2wB/Vd3gqy/8TZhTD3QvcVeQLCnZiGkGCH3JP28IgGAY41giccp2W4R3jfyJPAP318FQTa1yU7K7g=="
}, },
"html-webpack-plugin": { "html-webpack-plugin": {
"version": "3.2.0", "version": "3.2.0",
...@@ -24734,11 +24723,6 @@ ...@@ -24734,11 +24723,6 @@
"resolved": "https://registry.npmmirror.com/jwt-decode/-/jwt-decode-3.1.2.tgz", "resolved": "https://registry.npmmirror.com/jwt-decode/-/jwt-decode-3.1.2.tgz",
"integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==" "integrity": "sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A=="
}, },
"keycode": {
"version": "2.2.1",
"resolved": "https://registry.npmmirror.com/keycode/-/keycode-2.2.1.tgz",
"integrity": "sha512-Rdgz9Hl9Iv4QKi8b0OlCRQEzp4AgVxyCtz5S/+VIHezDmrDhkp2N2TqBWOLz0/gbeREXOOiI9/4b8BY9uw2vFg=="
},
"killable": { "killable": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.nlark.com/killable/download/killable-1.0.1.tgz", "resolved": "https://registry.nlark.com/killable/download/killable-1.0.1.tgz",
...@@ -25119,8 +25103,8 @@ ...@@ -25119,8 +25103,8 @@
}, },
"lodash.kebabcase": { "lodash.kebabcase": {
"version": "4.1.1", "version": "4.1.1",
"resolved": "https://registry.nlark.com/lodash.kebabcase/download/lodash.kebabcase-4.1.1.tgz", "resolved": "https://registry.npmmirror.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz",
"integrity": "sha1-hImxyw0p/4gZXM7KRI/21swpXDY=" "integrity": "sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g=="
}, },
"lodash.mapvalues": { "lodash.mapvalues": {
"version": "4.6.0", "version": "4.6.0",
...@@ -25659,18 +25643,6 @@ ...@@ -25659,18 +25643,6 @@
"integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=", "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=",
"dev": true "dev": true
}, },
"muse-ui": {
"version": "3.0.2",
"resolved": "https://registry.npmmirror.com/muse-ui/-/muse-ui-3.0.2.tgz",
"integrity": "sha512-oIH8wEKQqXA6xbb3HzprxC2xoF7P8G01uvF+Jhs6VtbxQjO7VVkKKFu2Mb2NmhX3mMU2EBCgE8wlTU29ffjkPA==",
"requires": {
"body-scroll-lock": "^2.6.1",
"dayjs": "^1.8.2",
"keycode": "^2.1.9",
"normalize-wheel": "^1.0.1",
"resize-observer-polyfill": "^1.5.0"
}
},
"mute-stream": { "mute-stream": {
"version": "0.0.8", "version": "0.0.8",
"resolved": "https://registry.nlark.com/mute-stream/download/mute-stream-0.0.8.tgz", "resolved": "https://registry.nlark.com/mute-stream/download/mute-stream-0.0.8.tgz",
...@@ -24,9 +24,8 @@ ...@@ -24,9 +24,8 @@
"js-cookie": "2.2.1", "js-cookie": "2.2.1",
"jsencrypt": "3.0.0-rc.1", "jsencrypt": "3.0.0-rc.1",
"json-bigint": "^0.3.0", "json-bigint": "^0.3.0",
"jwt-decode": "^3.1.2", "jwt-decode": "3.1.2",
"moment": "^2.29.4", "moment": "^2.29.4",
"muse-ui": "^3.0.2",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"quill": "1.3.7", "quill": "1.3.7",
"screenfull": "5.0.2", "screenfull": "5.0.2",
...@@ -40,9 +39,7 @@ ...@@ -40,9 +39,7 @@
"vue-router": "3.4.9", "vue-router": "3.4.9",
"vue-template-compiler": "^2.6.14", "vue-template-compiler": "^2.6.14",
"vue2-org-tree": "^1.3.5", "vue2-org-tree": "^1.3.5",
"vuex": "3.6.0", "vuex": "3.6.0"
"jwt-decode": "3.1.2"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "4.4.6", "@vue/cli-plugin-babel": "4.4.6",
......
...@@ -92,6 +92,31 @@ export default { ...@@ -92,6 +92,31 @@ export default {
showIcon(row, column) { showIcon(row, column) {
return <i class={'el-icon-'+row.imgPath}></i> return <i class={'el-icon-'+row.imgPath}></i>
}, },
handleStatus(row){
if(row.status==1){
this.$post("/menu/change/status", {id:row.id,status:0})
.then(res => {
if(res.code==1){
row.status=0;
}
})
.catch(error => {
this.$message.error(error.message);
})
}else{
this.$post("/menu/change/status", {id:row.id,status:1})
.then(res => {
if(res.code==1){
row.status=1;
}
})
.catch(error => {
this.$message.error(error.message);
})
}
},
// 操作菜单状态 // 操作菜单状态
changeStatus(row, column) { changeStatus(row, column) {
return ( return (
...@@ -112,6 +137,7 @@ export default { ...@@ -112,6 +137,7 @@ export default {
}, },
data() { data() {
return { return {
value: '1',
config: { config: {
isshowTabPane:true, isshowTabPane:true,
/** 树表是否默认展开 */ /** 树表是否默认展开 */
...@@ -156,7 +182,24 @@ export default { ...@@ -156,7 +182,24 @@ export default {
prop: 'status', prop: 'status',
label: '状态', label: '状态',
width: 100, width: 100,
formatter: this.changeStatus, formatter: row => {
return (
<div>
<el-switch
value={row.status+""}
active-color="#13ce66"
inactive-color="#ff4949"
active-value='1'
inactive-value='0'
onChange={() => {
this.handleStatus(row);
}}
>
</el-switch>
</div>
);
}
}, },
{ {
label: "操作", label: "操作",
......
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