项目是uniapp并不是uniapp x,但之前使用微信小程序使用以下这种方式,是能够更改uni.getPrivacySetting回调后的needAuthorization
<button
class="confirm-btn"
id="agree-btn"
open-type="agreePrivacyAuthorization"
@agreeprivacyauthorization="handleAgree"
>
{{ $t("app-dynamic.dynamic_key_29") }}
</button>
但现在我看文档中指出uniapp x才能使用,但我在uniapp中也能跑,看了官方demo,发现在app中是通过uni.onPrivacyAuthorizationChange监听实现的,uni.onPrivacyAuthorizationChange在uniapp中是否就是不支持的?