|
@@ -23,8 +23,8 @@
|
|
|
@change="onSelectChange"
|
|
@change="onSelectChange"
|
|
|
>
|
|
>
|
|
|
<el-option
|
|
<el-option
|
|
|
- v-for="(item, index) in allAlbums"
|
|
|
|
|
- :key="index"
|
|
|
|
|
|
|
+ v-for="item in allAlbums"
|
|
|
|
|
+ :key="item.value"
|
|
|
:label="item.label"
|
|
:label="item.label"
|
|
|
:value="item.value"
|
|
:value="item.value"
|
|
|
/>
|
|
/>
|
|
@@ -131,7 +131,8 @@ export default {
|
|
|
created() {
|
|
created() {
|
|
|
this.getSelectList()
|
|
this.getSelectList()
|
|
|
const { albumId, pn } = this.$route.query
|
|
const { albumId, pn } = this.$route.query
|
|
|
- if (albumId) this.queryInfo.albumId = albumId
|
|
|
|
|
|
|
+ this.queryInfo.albumId = albumId ? String(albumId) : ''
|
|
|
|
|
+
|
|
|
if (pn) {
|
|
if (pn) {
|
|
|
this.queryInfo.pn = parseInt(pn)
|
|
this.queryInfo.pn = parseInt(pn)
|
|
|
this.currentPage = parseInt(pn)
|
|
this.currentPage = parseInt(pn)
|
|
@@ -170,7 +171,7 @@ export default {
|
|
|
this.dataList = resp.data.pageList.list
|
|
this.dataList = resp.data.pageList.list
|
|
|
this.totalSize = resp.data.pageList.totalSize
|
|
this.totalSize = resp.data.pageList.totalSize
|
|
|
this.albumInfo = resp.data.albumInfo
|
|
this.albumInfo = resp.data.albumInfo
|
|
|
- this.queryInfo.albumId = this.albumInfo.albumId + ''
|
|
|
|
|
|
|
+ this.queryInfo.albumId = String(this.albumInfo.albumId)
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|