diff options
author | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-08-05 16:56:18 +0300 |
---|---|---|
committer | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-08-05 16:56:18 +0300 |
commit | c94e39d946b187a39f21307c8cf42e1d1b3c3d8a (patch) | |
tree | 2179868da40b098041c0d26be07441914c0ce312 /src/components/_sila/Global/Collapse.vue | |
parent | c0f0a956a1def725feb1b821e5507183b435262b (diff) | |
download | webui-vue-c94e39d946b187a39f21307c8cf42e1d1b3c3d8a.tar.xz |
add power supply page
Diffstat (limited to 'src/components/_sila/Global/Collapse.vue')
-rw-r--r-- | src/components/_sila/Global/Collapse.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/_sila/Global/Collapse.vue b/src/components/_sila/Global/Collapse.vue index f004c955..da2b74c8 100644 --- a/src/components/_sila/Global/Collapse.vue +++ b/src/components/_sila/Global/Collapse.vue @@ -10,7 +10,7 @@ {{ title }} <component :is="iconChevronUp" class="icon-expand" /> </b-button> - <b-collapse :id="id"> + <b-collapse :id="id" :visible="defaultOpen"> <slot></slot> </b-collapse> </div> @@ -29,6 +29,10 @@ export default { type: String, default: null, }, + defaultOpen: { + type: Boolean, + default: false, + }, }, data() { return { |