修复keys查询字段错误

This commit is contained in:
wangsongsole 2022-08-11 10:19:36 +08:00
parent 8f98e59bcb
commit 114c40ae16
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
* @Author: Wind * @Author: Wind
* @Date: 2022-07-25 10:53:41 * @Date: 2022-07-25 10:53:41
* @LastEditors: Wind * @LastEditors: Wind
* @LastEditTime: 2022-08-10 15:52:01 * @LastEditTime: 2022-08-11 10:19:09
* @Description:key列表查询组件 * @Description:key列表查询组件
* @FilePath: \frontend\src\components\keysFind\index.jsx * @FilePath: \frontend\src\components\keysFind\index.jsx
*/ */
@ -49,7 +49,7 @@ export default ({ onQuery }) => {
res, res,
(req, msg) => { (req, msg) => {
const data = req.map((item) => ({ const data = req.map((item) => ({
key: item.direct_reseller_id, key: item.id,
text: item.name text: item.name
})) }))
setResellerOption(data) setResellerOption(data)