update

parent 72db8f84
......@@ -28,6 +28,7 @@
type="text"
class="q-my-sm"
outlined
readonly
></q-input>
<q-input
v-model="password"
......@@ -37,6 +38,7 @@
type="password"
class="q-my-sm"
outlined
readonly
></q-input>
<q-input
v-model="code"
......@@ -46,6 +48,7 @@
type="text"
class="q-my-sm"
outlined
readonly
></q-input>
<q-input
v-model="fullName"
......
......@@ -20,6 +20,10 @@
class="overflow-auto"
style="max-height: calc(100vh - 14rem)"
>
<div class="text-body1 text-weight-regular">
{{ $t('postCategory.labelInput.namePost')
}}<span style="color: red">*</span>
</div>
<q-tabs
v-model="tabName"
dense
......@@ -46,11 +50,7 @@
>
<q-input
v-model="info.name"
:label="`${
tabName === 'vi'
? $t('postCategory.labelInput.namePost')
: $t('postCategory.labelInput.nameEnglish')
}`"
:label="$t('postCategory.labelInput.namePost')"
type="text"
class="q-my-sm"
outlined
......@@ -60,6 +60,10 @@
</q-tab-panel>
</q-tab-panels>
<div class="text-body1 text-weight-regular">
{{ $t('postCategory.labelInput.description')
}}<span style="color: red">*</span>
</div>
<q-tabs
v-model="tabTitle"
dense
......@@ -86,11 +90,7 @@
>
<q-input
v-model="info.title"
:label="`${
tabTitle === 'vi'
? $t('postCategory.labelInput.description')
: $t('postCategory.labelInput.shortDescription')
}`"
:label="$t('postCategory.labelInput.description')"
type="text"
class="q-my-sm"
outlined
......
......@@ -619,6 +619,7 @@ export default defineComponent({
}
} catch (error) {}
};
const checkValidate = () => {
let hasError = false;
if (!artistCode.value || !artistCode.value?.trim().length) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment