fix: auto-verify admin on mount (onMounted doVerify)

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
yuzhiran
2026-06-18 18:21:41 +08:00
parent 27e4d06da7
commit 7cf4636b8c
+3 -1
View File
@@ -368,7 +368,7 @@
</template>
<script setup>
import { ref, computed } from 'vue'
import { ref, computed, onMounted } from 'vue'
import { api, API_ENDPOINTS } from '../../config'
const verified = ref(false)
@@ -777,6 +777,8 @@ const doAdjustCredits = async () => {
loadUsers()
} catch { uni.showToast({ title: '调整失败', icon: 'none' }) }
}
onMounted(() => { doVerify() })
</script>
<style scoped>