mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
修复sql查询
This commit is contained in:
1 parent
f0f2c6b537
commit
7e34f4990d
2 files changed
+2
-2
No files matched your search
@@ -80,7 +80,7 @@ export default class DependenceService {
|
||||
const encodeText = encodeURIComponent(searchValue);
|
||||
const reg = {
|
||||
[Op.or]: [
|
||||
{ [Op.like]: `%${searchValue}&` },
|
||||
{ [Op.like]: `%${searchValue}%` },
|
||||
{ [Op.like]: `%${encodeText}%` },
|
||||
],
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user