@@ -655,7 +655,10 @@ export default {
goBack(){
SessionCache.deleteCache('albumDetail')
if(this.$route.query.isAdd==1){
- this.$router.back()
+ // this.$router.back()
+ this.$router.replace({
+ name: 'albumIndex',
+ })
}else{
this.isAdd = false
}
@@ -224,7 +224,15 @@ export default {
SessionCache.setCache('albumDetail', data)
this.$store.commit('include/clearInclude')
+ name: 'albumDetail',
+ query: {
+ pkId: this.pkId,
+ isAdd: 1,
+ scope: this.scope
+ }
},
//分类修改数据
onChange(value, selectedOptions) {