提交 b7bbbd1f 编写于 作者: Neuromancer255's avatar Neuromancer255

添加请求数据编辑器(请求接口)--fix4

上级 fff637f2
......@@ -144,7 +144,7 @@ export default class AppPicker extends Vue {
this.$http
.get(url)
.then((response: any) => {
if (response && response.status==200 && !response.data) {
if (response && response.status==200 && response.data) {
this.itemList = response.data;
// 提取需要的值(value,label)
this.extractItem(this.itemList,this.items);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册