[WIP] Фикс багов

This commit is contained in:
megavrilinvv
2023-05-22 11:34:12 +03:00
parent 29025a1357
commit 98342521a6
2 changed files with 11 additions and 2 deletions

View File

@@ -188,7 +188,10 @@ export default {
fillInspection: {
immediate: true,
handler(newVal) {
if (newVal) this.change = false;
if (newVal) {
this.change = false;
this.data.results.files.forEach((e) => (e.data = []));
}
},
},
},
@@ -201,6 +204,11 @@ export default {
<style lang="sass" scoped>
#upload :deep(.q-field__native)
cursor: pointer
height: 100%
padding: 0
#upload :deep(.q-field__control)
height: 100%
.changed
height: 300px

View File

@@ -4,7 +4,8 @@
:is-edit="change",
:open-edit="openCard",
:cancel="closeCard",
:tag="fillInspection || change"
:tag="fillInspection || change",
template
)
.disease-body.flex
.flex.flex-col.gap-y-17px.w-full(v-if="fillInspection || change")