anln_0000001_superFanPrices #25
|
@ -66,7 +66,7 @@ export default function EditSpacePost({ navigation, route }) {
|
|||
getData();
|
||||
}, []);
|
||||
const getData = async () => {
|
||||
const ids = [route.params.id];
|
||||
const ids = [parseInt(route.params.id, 10)];
|
||||
try {
|
||||
const body = {
|
||||
ids,
|
||||
|
|
|
@ -172,7 +172,7 @@ export default function EditStreamerPost({ navigation, route }) {
|
|||
{/* 内容 */}
|
||||
<ScrollView scrollEnabled={!dragging}>
|
||||
<View style={tailwind("p-4")}>
|
||||
{initalData?.status === 3 && (
|
||||
{initalData?.status === 6 && (
|
||||
<View style={tailwind("mb-4")}>
|
||||
<Text
|
||||
style={tailwind("text-base font-medium text-[#F53030] mb-2")}
|
||||
|
@ -206,7 +206,7 @@ export default function EditStreamerPost({ navigation, route }) {
|
|||
</View>
|
||||
)}
|
||||
<Text style={tailwind("text-base font-medium text-white")}>
|
||||
动态内容
|
||||
动态内容-{initalData?.status}
|
||||
</Text>
|
||||
<TextInput
|
||||
placeholder="请遵守平台准则,严禁发布违规内容"
|
||||
|
|
|
@ -23,7 +23,6 @@ export default function PendingReview({ zid, navigation }) {
|
|||
const [more, setMore] = useState(1);
|
||||
const [data, setData] = useState({ list: [], total: 0 });
|
||||
const getData = async () => {
|
||||
console.log("zid", zid);
|
||||
if (zid === undefined || !more) return;
|
||||
const apiUrl = process.env.EXPO_PUBLIC_API_URL;
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue