diff --git a/README_zh.md b/README_zh.md index 29163fdd4dd34fc7c838e147b0281a4f2dbf89f6..4d08dc4a053c8b90defa806206cb5704aac1393f 100644 --- a/README_zh.md +++ b/README_zh.md @@ -59,7 +59,7 @@ import { initTable } from '@ohos/vtable'; this.vTableController.frozenRow(Number(value1) + 1) ``` -取消冻结行 +取消冻结行,解冻后需要进行刷新 ```typescript import { initTable } from '@ohos/vtable'; diff --git a/entry/src/main/ets/pages/Dialog.ets b/entry/src/main/ets/pages/Dialog.ets index 5c10d98c7fd3d686cb44c773af43266c7140dca4..a93a123cc428d4ced15381811e292686a5142453 100644 --- a/entry/src/main/ets/pages/Dialog.ets +++ b/entry/src/main/ets/pages/Dialog.ets @@ -34,6 +34,7 @@ export struct OptionDialog { .onChange((value) => { this.strValue1 = value }) + .type(this.dialogType === DialogType.MODIFY_TITLE || this.dialogType === DialogType.SET_ROW_DIVIDER ? InputType.Normal : InputType.Number) } if (this.dialogType === DialogType.MODIFY_TITLE || this.dialogType === DialogType.SET_ROW_HEIGHT ||