Commit 71455426 authored by 皮倩雯's avatar 皮倩雯

fix: '台账搜索'

parent 2b70cd9c
Pipeline #48445 passed with stages
in 7 minutes 42 seconds
...@@ -271,8 +271,8 @@ const StandingBook = props => { ...@@ -271,8 +271,8 @@ const StandingBook = props => {
console.log(arr); console.log(arr);
setShowSearchStyle(true); setShowSearchStyle(true);
setAllData(arr); setAllData(arr);
setSearchData(res.data.root[pickItem]); setSearchData(res.data.root);
// setPickItem(''); setPickItem('');
// 第一次进入展示第一页 不是第一次进入根据当前选择的来进行展示 // 第一次进入展示第一页 不是第一次进入根据当前选择的来进行展示
// flag === 0 ? setPickItem(newArr[0]) : setPickItem(pickItem); // flag === 0 ? setPickItem(newArr[0]) : setPickItem(pickItem);
console.log(newArr, 'newArr'); console.log(newArr, 'newArr');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment