From 366a2926afa1f3ce5957e583a6e1d2112462bbb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=2EKing-=E7=8E=8B=E5=87=AF=E5=A3=AE?= Date: Wed, 26 Jul 2023 11:37:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=20=E6=89=A9=E5=B1=95=E8=BF=90?= =?UTF-8?q?=E7=AE=97=E7=AC=A6=E8=A1=A5=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/base/combination/expander.js | 2 +- packages/fineui/src/base/combination/group.button.js | 4 ++-- packages/fineui/src/base/combination/loader.js | 2 +- packages/fineui/src/base/combination/navigation.js | 2 +- packages/fineui/src/base/combination/switcher.js | 2 +- packages/fineui/src/base/combination/tab.js | 2 +- packages/fineui/src/base/single/0.single.js | 2 +- packages/fineui/src/base/single/button/button.basic.js | 2 +- packages/fineui/src/base/single/editor/editor.textarea.js | 2 +- packages/fineui/src/base/single/input/checkbox/checkbox.js | 2 +- packages/fineui/src/base/single/input/file.js | 2 +- packages/fineui/src/base/single/input/input.js | 2 +- packages/fineui/src/base/single/input/radio/radio.image.js | 2 +- packages/fineui/src/base/single/input/radio/radio.js | 2 +- packages/fineui/src/core/controller/controller.masker.js | 2 +- packages/fineui/src/core/loader/loader.style.js | 2 +- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/fineui/src/base/combination/expander.js b/packages/fineui/src/base/combination/expander.js index 041b448b4..ad418a0f9 100644 --- a/packages/fineui/src/base/combination/expander.js +++ b/packages/fineui/src/base/combination/expander.js @@ -341,6 +341,6 @@ export class Expander extends Widget { } destroy() { - super.destroy(arguments); + super.destroy(...arguments); } } diff --git a/packages/fineui/src/base/combination/group.button.js b/packages/fineui/src/base/combination/group.button.js index 16894a283..1b228d4e6 100644 --- a/packages/fineui/src/base/combination/group.button.js +++ b/packages/fineui/src/base/combination/group.button.js @@ -418,12 +418,12 @@ export class ButtonGroup extends Widget { } empty() { - super.empty(arguments); + super.empty(...arguments); this.options.items = []; } destroy() { - super.destroy(arguments); + super.destroy(...arguments); this.options.items = []; } } diff --git a/packages/fineui/src/base/combination/loader.js b/packages/fineui/src/base/combination/loader.js index 14ec167bc..95081f18b 100644 --- a/packages/fineui/src/base/combination/loader.js +++ b/packages/fineui/src/base/combination/loader.js @@ -342,6 +342,6 @@ export class Loader extends Widget { } destroy() { - super.destroy(arguments); + super.destroy(...arguments); } } diff --git a/packages/fineui/src/base/combination/navigation.js b/packages/fineui/src/base/combination/navigation.js index 7a5e88faf..f79df33a2 100644 --- a/packages/fineui/src/base/combination/navigation.js +++ b/packages/fineui/src/base/combination/navigation.js @@ -191,6 +191,6 @@ export class Navigation extends Widget { } destroy() { - super.destroy(arguments); + super.destroy(...arguments); } } diff --git a/packages/fineui/src/base/combination/switcher.js b/packages/fineui/src/base/combination/switcher.js index 85e4a8083..dfb0c1da9 100644 --- a/packages/fineui/src/base/combination/switcher.js +++ b/packages/fineui/src/base/combination/switcher.js @@ -263,7 +263,7 @@ export class Switcher extends Widget { } _setEnable(arg) { - super._setEnable(arguments); + super._setEnable(...arguments); !arg && this.isViewVisible() && this._hideView(); } diff --git a/packages/fineui/src/base/combination/tab.js b/packages/fineui/src/base/combination/tab.js index b00554dcd..6f025baf4 100644 --- a/packages/fineui/src/base/combination/tab.js +++ b/packages/fineui/src/base/combination/tab.js @@ -200,6 +200,6 @@ export class Tab extends Widget { destroy() { this.cardMap = {}; - super.destroy(arguments); + super.destroy(...arguments); } } diff --git a/packages/fineui/src/base/single/0.single.js b/packages/fineui/src/base/single/0.single.js index 6d2408b4f..d113ef908 100644 --- a/packages/fineui/src/base/single/0.single.js +++ b/packages/fineui/src/base/single/0.single.js @@ -72,7 +72,7 @@ export class Single extends Widget { this.setValue(newValue); }) : value; - super._init(arguments); + super._init(...arguments); } _mounted() { diff --git a/packages/fineui/src/base/single/button/button.basic.js b/packages/fineui/src/base/single/button/button.basic.js index 37dfb403a..7dc121efb 100644 --- a/packages/fineui/src/base/single/button/button.basic.js +++ b/packages/fineui/src/base/single/button/button.basic.js @@ -69,7 +69,7 @@ export class BasicButton extends Single { this.setSelected(newValue); }) : opts.selected; - super._init(arguments); + super._init(...arguments); if (opts.shadow) { this._createShadow(); diff --git a/packages/fineui/src/base/single/editor/editor.textarea.js b/packages/fineui/src/base/single/editor/editor.textarea.js index 4152af588..f0d306bbd 100644 --- a/packages/fineui/src/base/single/editor/editor.textarea.js +++ b/packages/fineui/src/base/single/editor/editor.textarea.js @@ -279,7 +279,7 @@ export class TextAreaEditor extends Single { } _setValid(b) { - super._setValid(arguments); + super._setValid(...arguments); // this.content.setValid(b); // this.watermark && this.watermark.setValid(b); } diff --git a/packages/fineui/src/base/single/input/checkbox/checkbox.js b/packages/fineui/src/base/single/input/checkbox/checkbox.js index 1cf223924..e943c00ad 100644 --- a/packages/fineui/src/base/single/input/checkbox/checkbox.js +++ b/packages/fineui/src/base/single/input/checkbox/checkbox.js @@ -52,7 +52,7 @@ export class Checkbox extends BasicButton { } doClick() { - super.doClick(arguments); + super.doClick(...arguments); if (this.isValid()) { this.fireEvent(Checkbox.EVENT_CHANGE); } diff --git a/packages/fineui/src/base/single/input/file.js b/packages/fineui/src/base/single/input/file.js index 0b1bb059e..5c33d99b0 100644 --- a/packages/fineui/src/base/single/input/file.js +++ b/packages/fineui/src/base/single/input/file.js @@ -759,7 +759,7 @@ export class File extends Widget { } _setEnable(enable) { - super._setEnable(arguments); + super._setEnable(...arguments); if (enable === true) { this.element.removeAttr("disabled"); } else { diff --git a/packages/fineui/src/base/single/input/input.js b/packages/fineui/src/base/single/input/input.js index 9ca0207f5..fb950aaed 100644 --- a/packages/fineui/src/base/single/input/input.js +++ b/packages/fineui/src/base/single/input/input.js @@ -344,7 +344,7 @@ export class Input extends Single { } _setValid() { - super._setValid(arguments); + super._setValid(...arguments); if (this.isValid()) { this._lastChangedValue = this.getValue(); this.element.removeClass("bi-input-error"); diff --git a/packages/fineui/src/base/single/input/radio/radio.image.js b/packages/fineui/src/base/single/input/radio/radio.image.js index 6c939eba1..2d807cb82 100644 --- a/packages/fineui/src/base/single/input/radio/radio.image.js +++ b/packages/fineui/src/base/single/input/radio/radio.image.js @@ -28,7 +28,7 @@ export class ImageRadio extends IconButton { } doClick() { - super.doClick(arguments); + super.doClick(...arguments); if (this.isValid()) { this.fireEvent(ImageRadio.EVENT_CHANGE); } diff --git a/packages/fineui/src/base/single/input/radio/radio.js b/packages/fineui/src/base/single/input/radio/radio.js index 041255355..fa6a10401 100644 --- a/packages/fineui/src/base/single/input/radio/radio.js +++ b/packages/fineui/src/base/single/input/radio/radio.js @@ -51,7 +51,7 @@ export class Radio extends BasicButton { } doClick() { - super.doClick(arguments); + super.doClick(...arguments); if (this.isValid()) { this.fireEvent(Radio.EVENT_CHANGE); } diff --git a/packages/fineui/src/core/controller/controller.masker.js b/packages/fineui/src/core/controller/controller.masker.js index dc07a48b8..cd8f4cc05 100644 --- a/packages/fineui/src/core/controller/controller.masker.js +++ b/packages/fineui/src/core/controller/controller.masker.js @@ -12,7 +12,7 @@ export class MaskersController extends LayerController { } init() { - super.init(arguments); + super.init(...arguments); this.zindex = zIndex_masker; } } diff --git a/packages/fineui/src/core/loader/loader.style.js b/packages/fineui/src/core/loader/loader.style.js index a8b1dd2b0..b8e4780ff 100644 --- a/packages/fineui/src/core/loader/loader.style.js +++ b/packages/fineui/src/core/loader/loader.style.js @@ -13,7 +13,7 @@ export class StyleLoaderManager extends OB { } _init() { - super._init(arguments); + super._init(...arguments); this.stylesManager = {}; }