fix:选作者后自动展开出版社,选出版社后自动展开作者

This commit is contained in:
ShenQiLun 2026-07-02 16:06:10 +08:00
parent 97e2d4ed23
commit 034471733d

View File

@ -3498,8 +3498,11 @@ export default {
selectNoIsbnAuthor(item) { selectNoIsbnAuthor(item) {
this.noIsbnAuthor = typeof item === 'string' ? item : (item.showName || '') this.noIsbnAuthor = typeof item === 'string' ? item : (item.showName || '')
this.noIsbnAuthorDropdownVisible = false this.noIsbnAuthorDropdownVisible = false
// //() + // //() +
this.fetchNoIsbnBookData() this.fetchNoIsbnBookData()
this.$nextTick(function() {
this.noIsbnPublisherDropdownVisible = true
}.bind(this))
this.debouncedReSearch() this.debouncedReSearch()
}, },
@ -3508,8 +3511,11 @@ export default {
this.noIsbnPublisher = typeof item === 'string' ? item : (item.showName || '') this.noIsbnPublisher = typeof item === 'string' ? item : (item.showName || '')
this.noIsbnSelectedPublisherValue = typeof item === 'object' && item.value ? item.value : '' this.noIsbnSelectedPublisherValue = typeof item === 'object' && item.value ? item.value : ''
this.noIsbnPublisherDropdownVisible = false this.noIsbnPublisherDropdownVisible = false
// //() + // //() +
this.fetchNoIsbnBookData() this.fetchNoIsbnBookData()
this.$nextTick(function() {
this.noIsbnAuthorDropdownVisible = true
}.bind(this))
this.debouncedReSearch() this.debouncedReSearch()
}, },