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;