fix: 消息列表切换消息类型无效

This commit is contained in:
fit2cloud-chenyw 2022-04-25 15:32:14 +08:00
parent 4e9a11b29c
commit 477e6abc2b
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ public class SysMsgService {
return buildTree(sysMsgTypes);
}
@Cacheable(SysMsgConstants.SYS_MSG_TYPE)
/*@Cacheable(SysMsgConstants.SYS_MSG_TYPE)*/
public List<SysMsgType> queryMsgTypes() {
SysMsgTypeExample example = new SysMsgTypeExample();
return sysMsgTypeMapper.selectByExample(example);

View File

@ -4,7 +4,7 @@ export function query(pageIndex, pageSize, data) {
return request({
url: '/api/sys_msg/list/' + pageIndex + '/' + pageSize,
method: 'post',
loading: false,
loading: true,
data
})
}