เก็บข้อมูลเพิ่ม
This commit is contained in:
parent
9f92268087
commit
9688d7e22e
1 changed files with 2 additions and 3 deletions
|
|
@ -272,6 +272,7 @@ function getCommander() {
|
|||
.get(config.API.searchCommander)
|
||||
.then((res) => {
|
||||
const data = res.data.result;
|
||||
formCommand.author = data.fullname;
|
||||
formCommand.commanderFullname = data.commanderFullname;
|
||||
formCommand.commanderPosition = data.commanderPosition;
|
||||
formCommand.commanderAboveFullname = data.commanderAboveFullname;
|
||||
|
|
@ -314,9 +315,7 @@ watch(
|
|||
/**lifecycle Hooks*/
|
||||
onMounted(async () => {
|
||||
const user = await tokenParsed();
|
||||
if (user) {
|
||||
formCommand.author = user.name;
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
showLoader();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue