feat(custom): i

This commit is contained in:
2023-10-18 16:04:41 +08:00
parent 597ca6b58d
commit 2948799447
3 changed files with 5 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ async function setupApp() {
if (Array.isArray(value)) {
if (value.length > 0) {
const hasPermission = permissions.some((key) => {
return all_permission == key || value.includes(key)
return all_permission === key || value.includes(key)
})
if (!hasPermission) {