提交昨晚至今早的修改2
This commit is contained in:
@@ -44,7 +44,6 @@
|
||||
|
||||
<script setup lang="uts">
|
||||
import { ref, onMounted } from 'vue'
|
||||
import { onShow } from '@dcloudio/uni-app'
|
||||
import supaClient from '@/components/supadb/aksupainstance.uts'
|
||||
import { getCurrentUserId } from '@/utils/store.uts'
|
||||
|
||||
@@ -127,7 +126,8 @@ const goPlanList = () => {
|
||||
}
|
||||
|
||||
onMounted(loadSubs)
|
||||
onShow(loadSubs)
|
||||
// 注意:uni-app x 的 <script setup> 中不支持 onShow,使用 onMounted 代替
|
||||
// 如果需要页面显示时刷新,可以在页面选项中定义 onShow
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user