From 241ae31d9cf38bc20e9f19fe9ccce660c97b1a27 Mon Sep 17 00:00:00 2001 From: timongh <46739861+timongh@users.noreply.github.com> Date: Wed, 8 Feb 2023 14:25:16 +0800 Subject: [PATCH] Replace `textControlMixin` to vue composition style --- src/ui/TextArea.vue | 9 +-- src/ui/TextBox.vue | 8 ++- src/ui/text-control.ts | 158 ++++++++++++++++++++++++----------------- 3 files changed, 101 insertions(+), 74 deletions(-) diff --git a/src/ui/TextArea.vue b/src/ui/TextArea.vue index a114d686a..cb4a4ffe0 100644 --- a/src/ui/TextArea.vue +++ b/src/ui/TextArea.vue @@ -1,9 +1,9 @@