|
@@ -136,7 +136,11 @@ var vm = new Vue({
|
|
|
type: 'POST',
|
|
|
success: function (res) {
|
|
|
if (res.error_code === 0) {
|
|
|
- this.tagList = res.data.reverse() || []
|
|
|
+ if (res.data) {
|
|
|
+ this.tagList = res.data.reverse()
|
|
|
+ } else {
|
|
|
+ this.tagList = []
|
|
|
+ }
|
|
|
this.initSelectTagList()
|
|
|
if (this.urlFilterTagId.length) {
|
|
|
this.filterState.tags = this.filterState.tags.concat(this.urlFilterTagId)
|