15 lines
392 B
TypeScript
15 lines
392 B
TypeScript
import { tabbarParamModel } from "@/model/tabbar.model";
|
|
import { View, Text } from "@tarojs/components";
|
|
import { useRecoilValue } from "recoil";
|
|
|
|
|
|
export default function CPageIndex() {
|
|
|
|
const param = useRecoilValue(tabbarParamModel);
|
|
|
|
return (
|
|
<View className="h-screen w-screen flex items-center justify-center bg-red-500 text-white">
|
|
<Text>{param}</Text>
|
|
</View>
|
|
);
|
|
} |