feat: ntrp逻辑变更 & 替换海报二维码

This commit is contained in:
2025-10-06 14:52:31 +08:00
parent f2e9d20094
commit 05b941613c
11 changed files with 430 additions and 207 deletions

View File

@@ -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() {