Merge branch 'ASTRA-110' into 'master'
[WIP] Поправил ошибку раскрытия опций состояния See merge request andrusyakka/urban-couscous!437
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
v-for="(type, key) in formConfig.conditions",
|
||||
v-model="isOpenExpansion[key]",
|
||||
:label="type.label",
|
||||
@click="() => partId = ''"
|
||||
@after-show="()=>jumpToItem()"
|
||||
)
|
||||
.general-expaction.flex.flex-col.pl-4(v-if="!type?.partsTooth")
|
||||
@@ -137,10 +138,12 @@ export default {
|
||||
}
|
||||
},
|
||||
jumpToItem() {
|
||||
if (this.partId) {
|
||||
this.$refs[this.partId][0].scrollIntoView({
|
||||
block: "center",
|
||||
behavior: "smooth",
|
||||
});
|
||||
}
|
||||
},
|
||||
updateConditions() {
|
||||
let arraySelected = [...this.getFilledConditions(this.data)];
|
||||
|
||||
Reference in New Issue
Block a user