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