From 4cba54d289914cae8fabcc6c14b5ad9806b8dd57 Mon Sep 17 00:00:00 2001 From: menghao <1584479611@qq.com> Date: Thu, 5 Feb 2026 15:40:27 +0800 Subject: [PATCH] . --- ruoyi-ui/src/views/childRoom/index.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ruoyi-ui/src/views/childRoom/index.vue b/ruoyi-ui/src/views/childRoom/index.vue index 716ffdb..d9a2719 100644 --- a/ruoyi-ui/src/views/childRoom/index.vue +++ b/ruoyi-ui/src/views/childRoom/index.vue @@ -1110,6 +1110,11 @@ export default { return `${y}-${m}-${day} ${h}:${min}:${s}`; }, openKTimeSetDialog() { + console.log("当前登录 ID (myId):", this.$store.getters.id); + + console.log("当前房间 ownerId:", this.roomDetail ? this.roomDetail.ownerId : '无房间信息'); + + console.log("当前角色 roles:", this.$store.getters.roles); if (!this.canSetKTime) { this.$message.info('仅房主或管理员可设定或修改 K 时'); return;