fix
This commit is contained in:
@@ -121,9 +121,19 @@ export default defineComponent({
|
||||
driverObj__.refresh();
|
||||
this.record.push({
|
||||
state:1,
|
||||
str:'123123123',
|
||||
driver:true,
|
||||
str:"Welcome to the AiDA system, your friendly fashion design assistant at your service! If you have any questions or need assistance, please don't hesitate to ask. ",
|
||||
driver:false,
|
||||
})
|
||||
this.textScroll()
|
||||
setTimeout(() => {
|
||||
this.record.push({
|
||||
state:1,
|
||||
str:"I see you might be new here, and I'd love to guide you through a tutorial to help you get acquainted with our new and improved AiDA system. How does that sound? Would you like to start the tutorial now?",
|
||||
driver:true,
|
||||
})
|
||||
this.textScroll()
|
||||
}, 1000);
|
||||
|
||||
this.driver__Time = setInterval(() => {
|
||||
this.$nextTick().then(()=>{
|
||||
driverObj__.refresh();
|
||||
@@ -134,6 +144,14 @@ export default defineComponent({
|
||||
}else{
|
||||
clearTimeout(this.driver__Time)
|
||||
}
|
||||
if(!newval.driver){
|
||||
this.record.push({
|
||||
state:1,
|
||||
str:"You can start the tutorial at any time by simply telling me that you want to. ",
|
||||
driver:false,
|
||||
})
|
||||
clearTimeout(this.driver__Time)
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -307,8 +325,9 @@ export default defineComponent({
|
||||
driver : false,
|
||||
}
|
||||
this.store?.commit("setGuide", data);
|
||||
this.robotTop = false
|
||||
this.robotInput = false
|
||||
// this.robotTop = false
|
||||
// this.robotInput = false
|
||||
this.createTimer()
|
||||
}
|
||||
},
|
||||
likeFile(item:any,imgIndex:number,index:number){
|
||||
|
||||
@@ -73,6 +73,7 @@ import {useStore} from 'vuex'
|
||||
import { openGuide,driverObj__ } from "@/tool/guide";
|
||||
import GO from "@/tool/GO";
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { position } from 'html2canvas/dist/types/css/property-descriptors/position'
|
||||
export default defineComponent({
|
||||
components:{
|
||||
Generate,
|
||||
@@ -91,6 +92,9 @@ export default defineComponent({
|
||||
let workspace:any = computed(()=>{
|
||||
return store.state.Workspace.workspace
|
||||
})
|
||||
let position:any = computed(()=>{
|
||||
return store.state.Workspace.workspacePosition
|
||||
})
|
||||
provide('driver__',driver__)
|
||||
let isShowMark = ref(false)
|
||||
return {
|
||||
@@ -98,6 +102,7 @@ export default defineComponent({
|
||||
workspace,
|
||||
t,
|
||||
isShowMark,
|
||||
position,
|
||||
}
|
||||
},
|
||||
|
||||
@@ -181,9 +186,13 @@ export default defineComponent({
|
||||
let numBottom = 0
|
||||
let top:any
|
||||
let bottom:any
|
||||
console.log(this.position);
|
||||
this.position.forEach((item:any) => {
|
||||
// let str =
|
||||
});
|
||||
if(this.workspace.sexEnum.name == "Female"){
|
||||
top = ['Outwear','Blouse']
|
||||
bottom = ['Dress','Trousers','Skirt']
|
||||
top = ['Outwear','Dress','Blouse']
|
||||
bottom = ['Trousers','Skirt']
|
||||
}else{
|
||||
top = ['Outwear','Tops']
|
||||
bottom = ['Bottoms']
|
||||
@@ -201,10 +210,15 @@ export default defineComponent({
|
||||
}
|
||||
});
|
||||
});
|
||||
if(numTop >= 8 || numBottom >= 8){
|
||||
// message.warning(this.t('SketchboardUpload.jsContent1'));
|
||||
if(numTop >= 8){
|
||||
// let str =
|
||||
// return
|
||||
}else if(numBottom >= 8){
|
||||
return
|
||||
}
|
||||
}else{
|
||||
|
||||
}
|
||||
// message.warning(this.t('SketchboardUpload.jsContent1',str:str));
|
||||
},
|
||||
//完成
|
||||
finishCollection(){
|
||||
|
||||
Reference in New Issue
Block a user