- 修复资产、凭证、指令分页数量不正确的bug
- 修复资产标签出现空格的bug - 删除退出登录旁边的逗号
This commit is contained in:
@ -171,10 +171,6 @@ class Asset extends Component {
|
||||
};
|
||||
|
||||
handleTagsChange = tags => {
|
||||
console.log(tags)
|
||||
// this.setState({
|
||||
// tags: tags
|
||||
// })
|
||||
let query = {
|
||||
...this.state.queryParams,
|
||||
'pageIndex': 1,
|
||||
@ -248,7 +244,7 @@ class Asset extends Component {
|
||||
}
|
||||
|
||||
if (asset['tags'] && typeof (asset['tags']) === 'string') {
|
||||
if (asset['tags'] === '-') {
|
||||
if (asset['tags'] === '' || asset['tags'] === '-') {
|
||||
asset['tags'] = [];
|
||||
} else {
|
||||
asset['tags'] = asset['tags'].split(',');
|
||||
|
Reference in New Issue
Block a user