Commit a1115e1b by xue_wengang

关注人员

parent 22386997
......@@ -896,11 +896,11 @@ export default {
.catch((err) => {
// console.log(err);
});
} else if (fieldItem.type == "codeTree") {
} else if (fieldItem.type == "codeTree") {
axios
.get(`JsonData/${fieldItem.codeTree}.json`)
.then((codRes) => {
let value = this.queryTree(codRes.data.data.rows, fieldVale)[0];
let value = this.queryTree(codRes.data.rows, fieldVale)[0];
console.log(value);
fieldItem.codeOptions = [{ id: fieldVale, name: value }];
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment