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

添加数据选择编辑器(请求接口)--fix3

上级 8bf04718
.app-picker {
width: 100%;
.el-select {
.el-input__suffix {
right: 20px;
}
}
.text-value {
.el-icon-circle-close {
display: none;
}
}
.text-value:hover {
.el-icon-circle-close {
display: inline-block;
}
}
.ivu-icon-ios-open-outline {
margin-top: -2px;
margin-left: 5px;
font-size: 15px;
}
}
\ No newline at end of file
......@@ -147,7 +147,8 @@ export default class AppPicker extends Vue {
if (response && response.status==200 && !response.data) {
this.itemList = response.data;
// 提取需要的值(value,label)
this.extractItem(this.itemList,this.items);
this.extractItem(this.itemList,this.items);
}
})
.catch((response: any) => {
if (!response || !response.status || !response.data) {
......@@ -196,3 +197,6 @@ export default class AppPicker extends Vue {
}
}
</script>
<style lang="less">
@import './app-upicker.less';
</style>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册