Browse Source

refactor: 双引号eslint

es6
iapyang 3 years ago
parent
commit
3048ec0c83
  1. 2
      .eslintrc
  2. 2
      src/widget/multiselect/check/multiselect.check.pane.js
  3. 2
      src/widget/multitree/check/multi.tree.check.pane.js

2
.eslintrc

@ -29,6 +29,8 @@
"files": ["src/*.js","src/**/*.js", "demo/*.js", "demo/**/*.js", "i18n/**/*.js", "i18n/*.js", "test/**/*.js", "test/*.js"],
"extends": "plugin:@fui/es5",
"rules": {
"no-param-reassign": "off",
"quotes": [2, "double"],
"comma-dangle": ["error", "never"] // 多行对象字面量中要求拖尾逗号
}
}, {

2
src/widget/multiselect/check/multiselect.check.pane.js

@ -72,7 +72,7 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
height: this.constants.height,
el: {
type: "bi.vertical_adapt",
columnSize: ['auto', 'auto'],
columnSize: ["auto", "auto"],
cls: "multi-select-continue-select",
items: [
{

2
src/widget/multitree/check/multi.tree.check.pane.js

@ -43,7 +43,7 @@ BI.MultiTreeCheckPane = BI.inherit(BI.Pane, {
var backToPopup = BI.createWidget({
type: "bi.vertical_adapt",
columnSize: ['auto', 'auto'],
columnSize: ["auto", "auto"],
cls: "multi-tree-continue-select",
items: [
{

Loading…
Cancel
Save