个人档案修改
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="pages">
|
||||
<a-pagination v-model:current="page" :total="teacherlikedlist.total" :showLessItems="true" />
|
||||
<a-pagination v-model:current="page" :total="teacherlikedlist.total" :showLessItems="true" @change="pagechange"/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -162,7 +162,7 @@
|
||||
</style>
|
||||
<script lang="ts">
|
||||
import { getteacherliked } from '@/api';
|
||||
import { defineComponent, onMounted, ref } from "vue";
|
||||
import { defineComponent, onMounted, ref, toRaw } from "vue";
|
||||
export default defineComponent({
|
||||
name: "Subscriber",
|
||||
components: {},
|
||||
@@ -181,6 +181,9 @@ export default defineComponent({
|
||||
async function search(e:any){
|
||||
teacherlikedlist.value=await getteacherliked(e)
|
||||
}
|
||||
async function pagechange(){
|
||||
teacherlikedlist.value=await getteacherliked(toRaw(condition.value))
|
||||
}
|
||||
|
||||
return {
|
||||
page,
|
||||
|
||||
Reference in New Issue
Block a user