mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-28 15:36:07 +08:00
修复搜索
This commit is contained in:
parent
928f1ce1ee
commit
6225d06442
|
@ -158,7 +158,7 @@ export default class CronService {
|
|||
function createRegexp(text:string) {
|
||||
return {
|
||||
[Op.or]: [
|
||||
{ [Op.like]: `%${searchText}&` },
|
||||
{ [Op.like]: `%${text}%` },
|
||||
{ [Op.like]: `%${encodeURIComponent(text)}%` },
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user