diff --git a/src/component/HomePage/RobotAssist.vue b/src/component/HomePage/RobotAssist.vue index dbc6b179..fa74bbf8 100644 --- a/src/component/HomePage/RobotAssist.vue +++ b/src/component/HomePage/RobotAssist.vue @@ -131,6 +131,9 @@ export default defineComponent({ driver:false, }) this.textScroll() + this.$nextTick().then(()=>{ + driverObj__.refresh(); + }) setTimeout(() => { this.record.push({ state:1, @@ -138,6 +141,9 @@ export default defineComponent({ driver:true, }) this.textScroll() + this.$nextTick().then(()=>{ + driverObj__.refresh(); + }) }, 1000); this.driver__Time = setInterval(() => { @@ -341,7 +347,8 @@ export default defineComponent({ this.chatCentent = "" }, setDriver(index:number){ - // let isBeginner = JSON.parse((getCookie('isBeginner') as any)) + let isBeginner = JSON.parse((getCookie('isBeginner') as any)) + if(this.driver__.driver){ driverObj__.moveNext(); this.robotTop = false