diff --git a/src/renderer/components/ft-checkbox-list/ft-checkbox-list.js b/src/renderer/components/ft-checkbox-list/ft-checkbox-list.js index b2614a6facb78..4f71b7718aee4 100644 --- a/src/renderer/components/ft-checkbox-list/ft-checkbox-list.js +++ b/src/renderer/components/ft-checkbox-list/ft-checkbox-list.js @@ -37,7 +37,7 @@ export default defineComponent({ return name.toLowerCase() + this.id } }, - mounted: function () { + created: function () { this.id = this._uid this.selectedValues = this.initialValues }, diff --git a/src/renderer/components/ft-radio-button/ft-radio-button.js b/src/renderer/components/ft-radio-button/ft-radio-button.js index 7d3274a9a1029..ee4774474aa46 100644 --- a/src/renderer/components/ft-radio-button/ft-radio-button.js +++ b/src/renderer/components/ft-radio-button/ft-radio-button.js @@ -37,7 +37,7 @@ export default defineComponent({ return name.toLowerCase() + this.id } }, - mounted: function () { + created: function () { this.id = this._uid this.selectedValue = this.values[this.initialValueIndex] },