|
|
@@ -124,12 +124,12 @@ export default function Page() {
|
|
|
}
|
|
|
|
|
|
useEffect(() => {
|
|
|
- if (process.env.TARO_ENV=='weapp'){
|
|
|
- showAlert({
|
|
|
- title:'date',
|
|
|
- content:new Date().toString()
|
|
|
- })
|
|
|
- }
|
|
|
+ // if (process.env.TARO_ENV == 'weapp') {
|
|
|
+ // showAlert({
|
|
|
+ // title: 'date',
|
|
|
+ // content: new Date().toString()
|
|
|
+ // })
|
|
|
+ // }
|
|
|
if (process.env.TARO_ENV == 'rn') {
|
|
|
const test = require('@/utils/push').default
|
|
|
test()
|