เครื่องราช => ปรับการเรียกประเภทเครื่องราช
This commit is contained in:
parent
7041a9e050
commit
5a8f6d6434
9 changed files with 47 additions and 31 deletions
|
|
@ -134,7 +134,7 @@ async function fecthRound() {
|
|||
/** function เรียกประเภทเครื่องราช*/
|
||||
async function fecthInsignia() {
|
||||
await http
|
||||
.get(config.API.insignia)
|
||||
.get(config.API.insigniaOrg)
|
||||
.then((res) => {
|
||||
let data = res.data.result;
|
||||
DataStore.fetchDatainsignia(data);
|
||||
|
|
@ -151,7 +151,7 @@ async function fecthInsignia() {
|
|||
|
||||
/** function เรียก Tab*/
|
||||
const fecthInsigniaType = async () => {
|
||||
await http(config.API.insigniaType)
|
||||
await http(config.API.insigniaTypeOrg)
|
||||
.then((res) => {
|
||||
let data = res.data.result;
|
||||
DataStore.fetchDatainsigniaType(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue