Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
jgdl
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-07-18 16:30:28 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1ecbd2acbbd3e10da5c8c48595dbf872b9d9ddc5
1ecbd2ac
1 parent
e0683f30
fix: 在页面显示时重新获取反馈列表数据
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
src/pages/feedBackList/index.vue
src/pages/feedBackList/index.vue
View file @
1ecbd2a
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-18 16:
11:04
* @LastEditTime: 2025-07-18 16:
27:29
* @FilePath: /jgdl/src/pages/feedBackList/index.vue
* @Description: 意见反馈列表页面
-->
...
...
@@ -108,7 +108,7 @@
<script setup>
import { ref, computed, onMounted } from 'vue'
import Taro from '@tarojs/taro'
import Taro
, { useDidShow }
from '@tarojs/taro'
import { Toast } from '@nutui/nutui-taro'
import './index.less'
// 导入接口
...
...
@@ -302,6 +302,14 @@ const goToFeedback = () => {
onMounted(() => {
getFeedbackList(true)
})
// 页面onShow时获取数据
useDidShow(() => {
// 如果不是首次加载,重新获取数据
if (feedbackList.value.length) {
getFeedbackList(true)
}
})
</script>
<script>
...
...
Please
register
or
login
to post a comment