Commit 6a1300ac authored by Tình Trương's avatar Tình Trương

Update index.vue

parent 34d02d6c
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
> >
<div class="row q-col-gutter-sm"> <div class="row q-col-gutter-sm">
<div class="col-12"> <div class="col-12">
<div class="row q-mt-sm flex-center"> <div class="row flex-center">
<div> <div>
<q-card style="margin-bottom: 8px" v-if="image !== null"> <q-card style="margin-bottom: 8px" v-if="image !== null">
<q-img <q-img
...@@ -76,19 +76,21 @@ ...@@ -76,19 +76,21 @@
</div> </div>
</div> </div>
<q-select <div class="q-ml-md q-mt-lg q-mr-md">
:model-value="category" <q-select
@update:model-value="$emit('update:category', $event)" :model-value="category"
:label="$t('post.dialogLabel.postLabels.category')" @update:model-value="$emit('update:category', $event)"
:rules="categoryRules" :label="$t('post.dialogLabel.postLabels.category')"
:options="categoryOptions" :rules="categoryRules"
map-options :options="categoryOptions"
option-value="id" map-options
option-label="name" option-value="id"
type="text" option-label="name"
class="q-my-sm" type="text"
outlined class="q-my-sm"
></q-select> outlined
></q-select>
</div>
<q-tabs <q-tabs
v-model="tab" v-model="tab"
...@@ -249,7 +251,7 @@ ...@@ -249,7 +251,7 @@
</q-tab-panel> </q-tab-panel>
</q-tab-panels> </q-tab-panels>
<div> <div class="q-pl-md">
<span class="text-body1">{{ <span class="text-body1">{{
$t('post.dialogLabel.postLabels.status') $t('post.dialogLabel.postLabels.status')
}}</span }}</span
......
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