修复preview修改颜色没有成功问题

This commit is contained in:
X1627315083
2023-12-14 12:02:42 +08:00
parent 269e305386
commit 44d4a45609
10 changed files with 493 additions and 18 deletions

View File

@@ -339,7 +339,6 @@ export default defineComponent({
},
removeDriver(index:number){
if(this.driver__.driver){
driverObj__.destroy();
let data = {
index : 0,
driver : false,
@@ -349,6 +348,10 @@ export default defineComponent({
// this.robotInput = false
this.createTimer()
}
console.log('销毁');
driverObj__.destroy();
// setCookie("isBeginner", false);
this.record[index].driver = false
sessionStorage.setItem('record', JSON.stringify(this.record));
this.textScroll()