修改代码
This commit is contained in:
parent
230d118d30
commit
6ea6c8a2e9
@ -303,10 +303,8 @@ export default {
|
||||
if (data && data.list) {
|
||||
const that = this;
|
||||
const list = data.list;
|
||||
const nameList = this.queryForm.queryObject.name.config.data = [];
|
||||
if (list) {
|
||||
list.map(elem => {
|
||||
nameList.push({ label: elem.name, value: elem.name });
|
||||
that.convertField(elem, that.RouteAutoTypeList, 'code', 'name', ['autoType']);
|
||||
that.convertField(elem, that.RouteNatureTypeList, 'code', 'name', ['natureType']);
|
||||
that.convertField(elem, that.SwitchLocateTypeList, 'code', 'name', ['overlapSwitchLocateType']);
|
||||
|
Loading…
Reference in New Issue
Block a user