添加源数量限制
This commit is contained in:
@@ -53,6 +53,13 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
handleImport() {
|
||||
if (this.userApi.list.length > 20) {
|
||||
this.$dialog({
|
||||
message: this.$t('user_api__max_tip'),
|
||||
confirmButtonText: this.$t('ok'),
|
||||
})
|
||||
return
|
||||
}
|
||||
selectDir({
|
||||
title: this.$t('user_api__import_file'),
|
||||
properties: ['openFile'],
|
||||
|
||||
Reference in New Issue
Block a user