feat: ntrp逻辑变更 & 替换海报二维码
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Component, ReactNode } from "react";
|
||||
import Taro from "@tarojs/taro";
|
||||
import "./nutui-theme.scss";
|
||||
import "./app.scss";
|
||||
import "./scss/qweather-icons/qweather-icons.css";
|
||||
@@ -19,6 +20,11 @@ class App extends Component<AppProps> {
|
||||
console.log('launch options: ', options)
|
||||
console.log("小程序启动,初始化逻辑写这里");
|
||||
clearSpecStorage()
|
||||
Taro.onNeedPrivacyAuthorization((resolve) => {
|
||||
// 这里可以自定义弹窗(或直接默认同意)
|
||||
resolve({ event: 'agree' }); // 同意隐私协议
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
|
||||
Reference in New Issue
Block a user