Skip to content

Commit be43e90

Browse files
committed
👕 update eslint-config-standard version
1 parent e9ee89a commit be43e90

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@
3636
"devDependencies": {
3737
"@ant-design/colors": "^5.1.1",
3838
"@babel/core": "^7.13.10",
39-
"@babel/polyfill": "^7.12.1",
4039
"@vue/cli-plugin-babel": "^4.5.12",
4140
"@vue/cli-plugin-eslint": "^4.5.12",
4241
"@vue/cli-plugin-unit-jest": "^4.5.12",
4342
"@vue/cli-service": "^4.5.12",
44-
"@vue/eslint-config-standard": "^5.1.2",
43+
"@vue/eslint-config-standard": "^6.0.0",
4544
"@vue/test-utils": "^1.1.3",
4645
"babel-eslint": "^10.1.0",
4746
"babel-jest": "^26.6.3",

src/main.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,21 @@ Vue.prototype.fileAbsoluteUrl = function (relativeUrl) {
1616
if (relativeUrl) {
1717
return 'https://hccake-img.oss-cn-shanghai.aliyuncs.com/' + relativeUrl
1818
}
19-
};
19+
}
2020

2121
// 字典注册
22-
import DictPlugin from '@/components/Dict/dictPlugin'
22+
import DictPlugin from '@/components/Dict/dictPlugin'
23+
2324
Vue.use(DictPlugin)
2425
// lov注册
2526
import LovPlugin from '@/components/Lov/lovPlugin'
27+
2628
Vue.use(LovPlugin)
2729

2830
Vue.config.productionTip = false
2931

3032
new Vue({
31-
beforeCreate(){
33+
beforeCreate () {
3234
// 全局事件总线
3335
Vue.prototype.$bus = this
3436
},

0 commit comments

Comments
 (0)