修复环境变量搜索

This commit is contained in:
whyour
2022-01-13 22:38:20 +08:00
parent 21475f81ae
commit 917a739595
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ export default class EnvService {
const encodeText = encodeURIComponent(searchText);
const reg = {
[Op.or]: [
{ [Op.like]: `%${searchText}&` },
{ [Op.like]: `%${searchText}%` },
{ [Op.like]: `%${encodeText}%` },
],
};
+1 -1
View File
@@ -69,7 +69,7 @@ export default class OpenService {
const encodeText = encodeURIComponent(searchText);
const reg = {
[Op.or]: [
{ [Op.like]: `%${searchText}&` },
{ [Op.like]: `%${searchText}%` },
{ [Op.like]: `%${encodeText}%` },
],
};