Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Image,
TouchableOpacity,
Text,
ScrollView,
TextInput,
Platform,
} from 'react-native'
import { connect } from 'react-redux'
import { List, ImagePicker, Picker } from 'antd-mobile-rn'
import Toast from 'react-native-root-toast'
import { Loading } from '../components/NetworkLoading'
import CallOnceInInterval from '../components/CallOnceInInterval'
import { NavigationActions } from '../utils'
const Item = List.Item
@connect(({ app, home }) => ({ ...app, ...home }))
export default class AddPage extends Component {
state = {
description:
'前置条件:' +
'\n' +
'\n' +
'\n' +
'步骤:' +
'\n' +
'\n' +
'\n' +
'预期结果:',
summary: null,
files: [],
import React, { Component } from 'react'
import {
StyleSheet,
View,
Image,
ScrollView,
DeviceEventEmitter
} from 'react-native'
import { connect } from 'react-redux'
import { List, Grid } from 'antd-mobile-rn'
import { NavigationActions, createAction } from '../../utils'
const Item = List.Item
@connect()
class Find extends Component {
static navigationOptions = {
title: '发现',
tabBarLabel: '发现',
tabBarIcon: ({ focused, tintColor }) => (
<img style="{{">
)
}
render() {
return (