Leo před 2 roky
rodič
revize
dfd312591b
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      src/pages/index/index.vue

+ 2 - 0
src/pages/index/index.vue

@@ -185,6 +185,8 @@ export default class HomeView extends AccountMixin {
           msg: this.value,
         },
       ];
+      this.value = "";
+
       const res = await textToImage({
         q: this.value.trim(),
       });