diff --git a/.eslintrc b/.eslintrc index b5c73721e..6f7cb0cd3 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,5 +1,5 @@ { - "root": true, + "root": true, "env": { "browser": true, "node": true, @@ -8,7 +8,7 @@ "es6": true }, "parserOptions": { - "parser": "babel-eslint" + "parser": "babel-eslint" }, "extends": ["plugin:vue/recommended", "prettier"], "rules": { @@ -19,6 +19,7 @@ "semi": ["error", "always"], "vue/require-prop-types": "off", "vue/require-default-prop": "off", - "vue/no-reserved-keys": "off" + "vue/no-reserved-keys": "off", + "vue/prop-name-casing": "off" } -} +} \ No newline at end of file diff --git a/components/vc-tabs/src/Tabs.jsx b/components/vc-tabs/src/Tabs.jsx index ad622c936..199cf052a 100644 --- a/components/vc-tabs/src/Tabs.jsx +++ b/components/vc-tabs/src/Tabs.jsx @@ -41,7 +41,7 @@ export default { tabBarPosition: PropTypes.string.def('top'), activeKey: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), defaultActiveKey: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), - propsSymbol: PropTypes.any, + __propsSymbol__: PropTypes.any, }, data() { const props = getOptionProps(this);