fix: userRole select value & responsible area value
This commit is contained in:
parent
77eacda307
commit
0524b6dda1
2 changed files with 2 additions and 2 deletions
|
|
@ -140,7 +140,7 @@ defineProps<{
|
|||
label="พื้นที่ ที่รับผิดชอบในการส่งเอกสาร"
|
||||
class="col-12"
|
||||
option-label="label"
|
||||
option-value="value"
|
||||
option-value="label"
|
||||
v-model="responsibleArea"
|
||||
:options="userStore.userOption.responsibleAreaOpts"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ const useUserStore = defineStore('api-user', () => {
|
|||
.join(' ');
|
||||
userOption.value.roleOpts.push({
|
||||
label: formattedName,
|
||||
value: item.id,
|
||||
value: item.name,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue