删除多余代码

This commit is contained in:
liuye
2024-07-24 15:17:21 +08:00
parent c70b8341ca
commit 8ce07854c2

View File

@@ -28,7 +28,6 @@
import {mapState} from "vuex"; import {mapState} from "vuex";
export default { export default {
customNavigation: true, customNavigation: true,
enablePullDownRefresh: true,
name: 'AppRecord', name: 'AppRecord',
appName: 'Copilot小助理(记录)', appName: 'Copilot小助理(记录)',
data() { data() {
@@ -55,13 +54,6 @@ export default {
mounted() { mounted() {
this.getHistoryList() this.getHistoryList()
}, },
onPullDownRefresh() {
if(this.current > this.pages) {
return this.$u.toast('没有更多记录')
}
this.current = this.current + 1
this.getHistoryList()
},
methods: { methods: {
getHistoryList() { getHistoryList() {
if(!this.user.token) { if(!this.user.token) {