名字打错了

This commit is contained in:
Jerry Yan 2020-03-14 13:06:55 +08:00
parent 0d92a58bf6
commit 0df859bf10

View File

@ -1,7 +1,7 @@
import {NativeModules, Platform} from "react-native";
export function checkVersion() {
export function checkUpgrade() {
if (Platform.os === 'android') {
NativeModules.VersionUpgrade.checkVersion()
NativeModules.VersionUpgrade.checkUpgrade()
}
}