diff --git a/.eslintrc.js b/.eslintrc.js index 632d8b39d..dc55acfa9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,6 +1,15 @@ module.exports = { - extends: [ - 'plugin:vue/recommended', - '@vue/standard' - ] -} \ No newline at end of file + extends: ['plugin:vue/recommended', '@vue/standard'], + rules: { + 'vue/max-attributes-per-line': [ + 2, + { + singleline: 20, + multiline: { + max: 1, + allowFirstLine: false + } + } + ] + } +} diff --git a/packages/common/AdvanceTable/src/main.vue b/packages/common/AdvanceTable/src/main.vue index e27ec4f83..8f4a6ab7e 100644 --- a/packages/common/AdvanceTable/src/main.vue +++ b/packages/common/AdvanceTable/src/main.vue @@ -3,7 +3,7 @@ * @Company: Tusimple * @Date: 2019-10-24 16:16:09 * @LastEditors: Jiwen.bai - * @LastEditTime: 2019-10-24 16:28:37 + * @LastEditTime: 2019-11-06 10:30:17 --> @@ -464,6 +460,7 @@ export default { this.searchData = this.computeShowingData() this.searchDataNoSort = null this.checkBoxes = [] + this.disabledCheckBox = [] this.currentPageAllSelect = false this.computeScollBar() },