Skip to content

Commit ef5ade6

Browse files
committed
publish 3.2.4
1 parent e343213 commit ef5ade6

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,7 @@ This plugin is completely open source and free, and it is not easy to create. If
952952
Thank you for your donation:
953953
* [zhangpeng1314](https://gitee.com/zhangpeng1314) - ¥150
954954
* [lilqilie](https://github.com/lilqilie) - ¥20
955+
* [h1xa](https://ctf.show) - ¥66
955956

956957
# License
957958

README_ZH.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,7 @@ export default {
950950

951951
* [zhangpeng1314](https://gitee.com/zhangpeng1314) - 150元
952952
* [lilqilie](https://github.com/lilqilie) - 20元
953+
* [h1xa](https://ctf.show) - 66元
953954

954955
# License
955956

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-web-terminal",
3-
"version": "3.2.3",
3+
"version": "3.2.4",
44
"description": "A lightweight and powerful web terminal plugin, suitable for vue3. 轻量、功能强大的网页端Terminal插件,适配vue3",
55
"license": "Apache-2.0",
66
"private": false,

src/components/TEditor.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@ const _focus = () => {
1414
}
1515
1616
const _close = (flag) => {
17+
InputEvent
1718
emits('close', flag)
1819
}
1920
21+
const _updateModelValue = (event:InputEvent) => {
22+
emits('update:modelValue', (event.target as HTMLInputElement).value)
23+
}
24+
2025
defineExpose({
2126
focus:_focus
2227
})
@@ -28,7 +33,7 @@ defineExpose({
2833
ref="textEditorRef"
2934
autofocus
3035
class="t-text-editor"
31-
@input="emits('update:modelValue', $event.target.value)"
36+
@input="_updateModelValue"
3237
:value="props.modelValue"
3338
@focus="(config as EditorConfig).onFocus"
3439
@blur="(config as EditorConfig).onBlur"/>

0 commit comments

Comments
 (0)