[WIP] Фикс пропсов

This commit is contained in:
megavrilinvv
2023-01-19 17:44:17 +03:00
parent 61085dc51a
commit b62357457a
4 changed files with 5 additions and 10 deletions

View File

@@ -58,7 +58,7 @@ export default {
}, },
mask: String, mask: String,
width: Number, width: Number,
maxLength: String, maxLength: Number,
textColor: String, textColor: String,
rule: Array, rule: Array,
modelValue: [String, Date], modelValue: [String, Date],

View File

@@ -1,5 +1,5 @@
<template lang="pug"> <template lang="pug">
.container.flex.flex-col.gap-y-2(@click="click") .container.flex.flex-col.gap-y-2
base-input-container( base-input-container(
:label="radioButtonsLabel" :label="radioButtonsLabel"
) )
@@ -50,11 +50,6 @@ export default {
}, },
}, },
}, },
methods: {
click() {
console.log(this.modelValue);
},
},
}; };
</script> </script>

View File

@@ -137,7 +137,7 @@
@click="deleteNote(item.id)" @click="deleteNote(item.id)"
) )
client-detail-input.text-sm.w-max-fit.relative( client-detail-input.text-sm.w-max-fit.relative(
maxLength="40", :maxLength="40",
:style="{fontWeight:key === 'number'&&600}", :style="{fontWeight:key === 'number'&&600}",
v-model="sectionInfo[key].title", v-model="sectionInfo[key].title",
placeholder="Заголовок" placeholder="Заголовок"
@@ -148,7 +148,7 @@
) {{`${sectionInfo[key].title.length}/40`}} ) {{`${sectionInfo[key].title.length}/40`}}
.title-section.text-xxs.font-semibold Описание .title-section.text-xxs.font-semibold Описание
client-detail-input.text-sm.w-max-fit( client-detail-input.text-sm.w-max-fit(
maxLength="40", :maxLength="40",
:style="{fontWeight:key === 'number'&&600}", :style="{fontWeight:key === 'number'&&600}",
v-model="sectionInfo[key].description", v-model="sectionInfo[key].description",
placeholder="Описание" placeholder="Описание"

View File

@@ -21,7 +21,7 @@ export default {
props: { props: {
modelValue: String, modelValue: String,
sharp: String, sharp: String,
maxLength: String, maxLength: Number,
placeholder: String, placeholder: String,
}, },
computed: { computed: {