update

parent 72db8f84
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
type="text" type="text"
class="q-my-sm" class="q-my-sm"
outlined outlined
readonly
></q-input> ></q-input>
<q-input <q-input
v-model="password" v-model="password"
...@@ -37,6 +38,7 @@ ...@@ -37,6 +38,7 @@
type="password" type="password"
class="q-my-sm" class="q-my-sm"
outlined outlined
readonly
></q-input> ></q-input>
<q-input <q-input
v-model="code" v-model="code"
...@@ -46,6 +48,7 @@ ...@@ -46,6 +48,7 @@
type="text" type="text"
class="q-my-sm" class="q-my-sm"
outlined outlined
readonly
></q-input> ></q-input>
<q-input <q-input
v-model="fullName" v-model="fullName"
......
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
class="overflow-auto" class="overflow-auto"
style="max-height: calc(100vh - 14rem)" 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 <q-tabs
v-model="tabName" v-model="tabName"
dense dense
...@@ -46,11 +50,7 @@ ...@@ -46,11 +50,7 @@
> >
<q-input <q-input
v-model="info.name" v-model="info.name"
:label="`${ :label="$t('postCategory.labelInput.namePost')"
tabName === 'vi'
? $t('postCategory.labelInput.namePost')
: $t('postCategory.labelInput.nameEnglish')
}`"
type="text" type="text"
class="q-my-sm" class="q-my-sm"
outlined outlined
...@@ -60,6 +60,10 @@ ...@@ -60,6 +60,10 @@
</q-tab-panel> </q-tab-panel>
</q-tab-panels> </q-tab-panels>
<div class="text-body1 text-weight-regular">
{{ $t('postCategory.labelInput.description')
}}<span style="color: red">*</span>
</div>
<q-tabs <q-tabs
v-model="tabTitle" v-model="tabTitle"
dense dense
...@@ -86,11 +90,7 @@ ...@@ -86,11 +90,7 @@
> >
<q-input <q-input
v-model="info.title" v-model="info.title"
:label="`${ :label="$t('postCategory.labelInput.description')"
tabTitle === 'vi'
? $t('postCategory.labelInput.description')
: $t('postCategory.labelInput.shortDescription')
}`"
type="text" type="text"
class="q-my-sm" class="q-my-sm"
outlined outlined
......
...@@ -619,6 +619,7 @@ export default defineComponent({ ...@@ -619,6 +619,7 @@ export default defineComponent({
} }
} catch (error) {} } catch (error) {}
}; };
const checkValidate = () => { const checkValidate = () => {
let hasError = false; let hasError = false;
if (!artistCode.value || !artistCode.value?.trim().length) { 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