更新前端依赖,修复漏洞

This commit is contained in:
StarsL.cn 2022-07-05 15:04:29 +08:00
parent 328f8e07bf
commit 46c3f25345
6 changed files with 27 additions and 18 deletions

View File

@ -14,30 +14,30 @@
"test:ci": "npm run lint && npm run test:unit" "test:ci": "npm run lint && npm run test:unit"
}, },
"dependencies": { "dependencies": {
"axios": "0.18.1", "axios": "0.27.2",
"core-js": "3.6.5", "core-js": "3.23.3",
"element-ui": "2.15.7", "element-ui": "2.15.9",
"file-saver": "2.0.1", "file-saver": "2.0.5",
"js-cookie": "2.2.0", "js-cookie": "2.2.1",
"normalize.css": "7.0.0", "normalize.css": "8.0.1",
"nprogress": "0.2.0", "nprogress": "0.2.0",
"path-to-regexp": "2.4.0", "path-to-regexp": "2.4.0",
"vue": "2.6.10", "vue": "2.7.2",
"vue-clipboard2": "^0.3.3", "vue-clipboard2": "^0.3.3",
"vue-highlightjs": "^1.3.3", "vue-highlightjs": "^1.3.3",
"vue-router": "3.0.6", "vue-router": "3.5.4",
"vuex": "3.1.0", "vuex": "3.6.2",
"xlsx": "0.17.0" "xlsx": "0.17.5"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "4.4.4", "@vue/cli-plugin-babel": "4.4.4",
"@vue/cli-plugin-eslint": "4.4.4", "@vue/cli-plugin-eslint": "4.4.4",
"@vue/cli-plugin-unit-jest": "4.4.4", "@vue/cli-plugin-unit-jest": "4.4.4",
"@vue/cli-service": "4.4.4", "@vue/cli-service": "4.4.4",
"@vue/test-utils": "1.0.0-beta.29", "@vue/test-utils": "1.3.0",
"autoprefixer": "9.5.1", "autoprefixer": "9.5.1",
"babel-eslint": "10.1.0", "babel-eslint": "10.1.0",
"babel-jest": "23.6.0", "babel-jest": "28.1.2",
"babel-plugin-dynamic-import-node": "2.3.3", "babel-plugin-dynamic-import-node": "2.3.3",
"chalk": "2.4.2", "chalk": "2.4.2",
"connect": "3.6.6", "connect": "3.6.6",
@ -46,13 +46,13 @@
"html-webpack-plugin": "3.2.0", "html-webpack-plugin": "3.2.0",
"mockjs": "1.0.1-beta3", "mockjs": "1.0.1-beta3",
"runjs": "4.3.2", "runjs": "4.3.2",
"sass": "1.26.8", "sass": "1.53.0",
"sass-loader": "8.0.2", "sass-loader": "8.0.2",
"script-ext-html-webpack-plugin": "2.1.3", "script-ext-html-webpack-plugin": "2.1.3",
"serve-static": "1.13.2", "serve-static": "1.13.2",
"svg-sprite-loader": "4.1.3", "svg-sprite-loader": "4.3.0",
"svgo": "1.2.2", "svgo": "1.3.2",
"vue-template-compiler": "2.6.10" "vue-template-compiler": "2.7.2"
}, },
"browserslist": [ "browserslist": [
"> 1%", "> 1%",

View File

@ -46,7 +46,7 @@ Object.keys(filters).forEach(key => {
}) })
Vue.config.productionTip = false Vue.config.productionTip = false
Vue.prototype.VER = 'v0.7.0' Vue.prototype.VER = 'v0.7.1'
new Vue({ new Vue({
el: '#app', el: '#app',

View File

@ -183,7 +183,7 @@ export const constantRoutes = [
}] }]
}, },
{ {
path: '快速链接', path: '/link',
component: Layout, component: Layout,
meta: { title: '快速链接', icon: 'link' }, meta: { title: '快速链接', icon: 'link' },
children: [ children: [

View File

@ -209,6 +209,10 @@ export default {
value_module: [], value_module: [],
value_company: [], value_company: [],
value_project: [], value_project: [],
module_list: [],
company_list: [],
project_list: [],
env_list: [],
value_env: [], value_env: [],
multipleSelection: [], multipleSelection: [],
del_dict: {}, del_dict: {},

View File

@ -177,6 +177,7 @@ export default {
job_dict: {}, job_dict: {},
vendor_list: [], vendor_list: [],
account_list: [], account_list: [],
itype_list: [],
itype: [], itype: [],
query: { vendor: '', account: '', itype: '' }, query: { vendor: '', account: '', itype: '' },
rules: { rules: {

View File

@ -208,6 +208,10 @@ export default {
value_account: [], value_account: [],
value_region: [], value_region: [],
value_group: [], value_group: [],
vendor_list: [],
account_list: [],
group_list: [],
region_list: [],
multipleSelection: [], multipleSelection: [],
del_dict: {}, del_dict: {},
osport: { linux: '9100', windows: '9182' }, osport: { linux: '9100', windows: '9182' },