Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b5c44f5

Browse files
ChunkyProgrammerabsidue
andcommittedMay 23, 2024·
use created instead of mounted for ft-radio-button and ft-checkbox-list
Co-Authored-By: absidue <48293849+absidue@users.noreply.github.com>
1 parent 2d28217 commit b5c44f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/renderer/components/ft-checkbox-list/ft-checkbox-list.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default defineComponent({
3737
return name.toLowerCase() + this.id
3838
}
3939
},
40-
mounted: function () {
40+
created: function () {
4141
this.id = this._uid
4242
this.selectedValues = this.initialValues
4343
},

‎src/renderer/components/ft-radio-button/ft-radio-button.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default defineComponent({
3737
return name.toLowerCase() + this.id
3838
}
3939
},
40-
mounted: function () {
40+
created: function () {
4141
this.id = this._uid
4242
this.selectedValue = this.values[this.initialValueIndex]
4343
},

0 commit comments

Comments
 (0)
Please sign in to comment.