refs #5066 fix vehicle res.data
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
738b04af4c
commit
cc27d1fa97
|
@ -11,10 +11,10 @@ class Controller extends Section {
|
|||
super($element, $);
|
||||
this.$http.get(`UserConfigs/getUserConfig`)
|
||||
.then(res => {
|
||||
if (res && res.data) {
|
||||
if (res.data) {
|
||||
this.$http.post(`Vehicles/sorted`, {warehouseFk: res.data.warehouseFk})
|
||||
.then(res => {
|
||||
if (res && res.data)
|
||||
if (res.data)
|
||||
this.vehicles = res.data;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue