This commit is contained in:
fofolee 2022-04-12 11:20:20 +08:00
parent 72f442a25f
commit 0666644d02

View File

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<div v-if="!fromUtools"> <div v-if="!fromUtools">
<q-dialog v-model="isResultShow" @hide="runResult = ''" position="bottom"> <q-dialog v-model="isResultShow" position="bottom" @hide="stopRun">
<q-card style="width: 90vh"> <q-card style="width: 90vh">
<q-toolbar> <q-toolbar>
<q-avatar> <q-avatar>
@ -23,13 +23,7 @@
></div> ></div>
</q-card-section> </q-card-section>
<q-card-actions align="right"> <q-card-actions align="right">
<q-btn <q-btn flat label="关闭" color="primary" v-close-popup />
flat
label="关闭"
color="primary"
v-close-popup
@click="stopRun"
/>
</q-card-actions> </q-card-actions>
</q-card> </q-card>
</q-dialog> </q-dialog>
@ -206,6 +200,7 @@ export default {
}); });
}, },
stopRun() { stopRun() {
this.runResult = "";
if (window.temporaryStore.listeners.subInputListener) { if (window.temporaryStore.listeners.subInputListener) {
this.subInputValue = ""; this.subInputValue = "";
utools.removeSubInput(); utools.removeSubInput();