在严格模式下禁止带有前导零的十进制整数文字?
Decimal Integer literals with a leading zero are forbidden in strict mode?
enter image description here
16 17
const App()-1
10 retum [..
19 20
NavigationContainer
Stack.Navigator
21
Stack Stronn nane="Hune" carponent={Hote) /
22
Stack Screen hane-"List" component-List>
Stack.Scrom name="Login" component(Login)
24
Stack, Scronn naneap component-(Map) />
Stack Sernun, nane-batch componente Entch) A
// Stack Screen nam Tatitur cutuulient-(Tammar) />()
27
/Stack Bavigators
S
Decimal integer literals with a leading zero are forbidden in strict mode
Login a
Decimal integer literals with a leading zero are forbidden in strict mode
OAP
D
+
G
node modules
no stack
no stack
App is
flowconfic
29
31 .) }}
32 3
33
35 1/27 Tah Navigation
Tub Screen rate Tabbiar component-(Tabbar/
37
//// </Tankarigatar>
38
42
expert default App;
尝试使用 :-
清理 android 的 gradle
cd android
./gradlew clean
并通过清除缓存重新启动 metro
npx react-native start --reset-cache
enter image description here
16 17
const App()-1
10 retum [..
19 20
NavigationContainer
Stack.Navigator
21
Stack Stronn nane="Hune" carponent={Hote) /
22
Stack Screen hane-"List" component-List>
Stack.Scrom name="Login" component(Login)
24
Stack, Scronn naneap component-(Map) />
Stack Sernun, nane-batch componente Entch) A
// Stack Screen nam Tatitur cutuulient-(Tammar) />()
27
/Stack Bavigators
S
Decimal integer literals with a leading zero are forbidden in strict mode
Login a
Decimal integer literals with a leading zero are forbidden in strict mode
OAP
D
+
G
node modules
no stack
no stack
App is
flowconfic
29
31 .) }}
32 3
33
35 1/27 Tah Navigation
Tub Screen rate Tabbiar component-(Tabbar/
37
//// </Tankarigatar>
38
42
expert default App;
尝试使用 :-
清理 android 的 gradlecd android
./gradlew clean
并通过清除缓存重新启动 metro
npx react-native start --reset-cache