-
Notifications
You must be signed in to change notification settings - Fork 326
Open
Description
代码如下:form.onFormMounted() {
let selectSchool=this.getFormRef('select54843');
axios.get("../index/schoolList").then(function(res){
debugger;
let data =res.data.data.map(function(item) {
// return ${item.code},${item.name}
return {
label: item.name,
value: item.code
};
})
selectSchool.loadOptions(data);
}).catch(function(e){
console.log(e)
})
}
Metadata
Metadata
Assignees
Labels
No labels