修复 cool-vibrate 鸿蒙权限文件书写错误问题

This commit is contained in:
icssoa
2025-10-13 10:07:25 +08:00
parent 6d5c760257
commit 833826883b
2 changed files with 12 additions and 6 deletions

View File

@@ -570,5 +570,11 @@
} }
] ]
}, },
"easycom": {
"autoscan": true,
"custom": {
"^ui-(.*)": "@/components/ui/$1/ui-$1.uvue"
}
},
"uniIdRouter": {} "uniIdRouter": {}
} }

View File

@@ -1,12 +1,12 @@
{ {
module: { "module": {
requestPermissions: [ "requestPermissions": [
{ {
name: "ohos.permission.VIBRATE", "name": "ohos.permission.VIBRATE",
usedScene: { "usedScene": {
when: "inuse" "when": "inuse"
}, },
reason: "$string:permission_VIBRATE_reason" "reason": "$string:permission_VIBRATE_reason"
} }
] ]
} }