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