this.getDicts("xsq").then(response => {标签:xqpjTable,remark,xsq,const,若依,获取,xsqs,response,字典 From: https://www.cnblogs.com/sumling/p/17542928.html
const xsqs = response.data;
for (let i = 0; i < xsqs.length; i++) {
const xqpjTable ={};
xqpjTable.index = i;
xqpjTable.id = xsqs[i].dictValue;
xqpjTable.cpbm = xsqs[i].dictLabel;
xqpjTable.myd = "";
xqpjTable.parent = "xsq";
xqpjTable.remark= xsqs[i].remark;
this.xqpjTableData.push(xqpjTable);
}
})