This commit is contained in:
gedoor 2021-10-15 09:31:29 +08:00
parent e5cc724097
commit 60510c59a1
2 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,6 @@ class OnLineImportActivity :
)
else -> {
viewModel.determineType(url, this::finallyDialog)
finish()
}
}
}

View File

@ -164,6 +164,7 @@ class OnLineImportViewModel(app: Application) : BaseViewModel(app) {
importTextTocRule(json, finally)
json.contains("name") && json.contains("url") ->
importTextTocRule(json, finally)
else -> errorLive.postValue("格式不对")
}
}
}