This commit is contained in:
X1627315083
2023-11-23 15:42:36 +08:00
parent c5820ca082
commit af1c4670b6
6 changed files with 26 additions and 14 deletions

View File

@@ -132,7 +132,7 @@
</div>
</template>
<script lang="ts">
import { defineComponent,h,ref,computed } from 'vue'
import { defineComponent,h,ref,computed,inject } from 'vue'
import { LoadingOutlined } from '@ant-design/icons-vue';
import {getCookie} from '@/tool/cookie'
import {getUploadUrl} from '@/tool/util'
@@ -167,6 +167,7 @@ export default defineComponent({
let loadingShow = ref(false)
let inputShow = ref(false)
let inputTime = ref()
let driver__:any = inject('driver__')
let {t} = useI18n()
let isTest = ref()
return {
@@ -180,6 +181,7 @@ export default defineComponent({
loadingShow,
inputShow,
inputTime,
driver__,
t,
isTest,
}
@@ -199,7 +201,7 @@ export default defineComponent({
watch:{
printBoards:{
handler(newVal:any,oldVal:any){
if(newVal.length>=2){
if(newVal.length>=2 && this.driver__.driver){
driverObj__.moveTo(9)
}
}