提交 66090fd0 authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 6bd7f67f
...@@ -61,9 +61,13 @@ function handleOperateChange(value: string, item: RuleAttr) { ...@@ -61,9 +61,13 @@ function handleOperateChange(value: string, item: RuleAttr) {
} }
function querySearch(item: RuleAttr, search: string, cb: (arg: any) => void) { function querySearch(item: RuleAttr, search: string, cb: (arg: any) => void) {
searchMetaMemberAttrs({ search, member_meta_id: item.attr_id, per_page: 100 }).then(res => { if (item.attr_id) {
cb(res.data.list) searchMetaMemberAttrs({ search: '', member_meta_id: item.attr_id, per_page: 100 }).then(res => {
}) cb(res.data.list)
})
} else {
cb([])
}
} }
</script> </script>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论