task#11347,index值计入
This commit is contained in:
@ -73,6 +73,8 @@ export default {
|
||||
async mounted() {
|
||||
await this.getCount();
|
||||
await this.getList()
|
||||
// console.log("***",this.$route.params.type)
|
||||
this.activeIndex = (this.$route.params.type - 1) || this.activeIndex
|
||||
},
|
||||
computed:{
|
||||
show() {
|
||||
@ -81,7 +83,7 @@ export default {
|
||||
},
|
||||
methods:{
|
||||
async onLoad(){
|
||||
console.log('00000000000000000000')
|
||||
// console.log('00000000000000000000')
|
||||
this.pageNum++;
|
||||
await this.getList()
|
||||
// 加载状态结束
|
||||
@ -146,7 +148,8 @@ export default {
|
||||
name: 'caseAuditList', // 目标路由的名称
|
||||
params: {
|
||||
id: id, // 参数对象的属性
|
||||
type: this.activeIndex+1
|
||||
type: this.activeIndex+1,
|
||||
page1Index:this.activeIndex
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user