[WIP] Фикс пропсов
This commit is contained in:
@@ -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],
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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="Описание"
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user