diff --git a/entry/oh-package.json5 b/entry/oh-package.json5 index 38bfd407ab2cbbcb5b58ac51d92692a41c07b477..d3046f67a9084fb8c0fe9dd6532d72bd686cb885 100644 --- a/entry/oh-package.json5 +++ b/entry/oh-package.json5 @@ -1,12 +1,13 @@ { "license": "", "devDependencies": { - "@types/libentry.so": "file:./src/main/cpp/types/libentry" }, "author": "", "name": "entry", "description": "Please describe the basic information.", "main": "", "version": "1.0.0", - "dependencies": {} + "dependencies": { + "libentry.so": "file:./src/main/cpp/types/libentry" + } } diff --git a/entry/src/main/cpp/types/libentry/oh-package.json5 b/entry/src/main/cpp/types/libentry/oh-package.json5 index 8c49cae229917b627c5b40b536d6e8115b59f080..17f2fec28b34ad5d42507c4fa15c7e4d0d16eb70 100644 --- a/entry/src/main/cpp/types/libentry/oh-package.json5 +++ b/entry/src/main/cpp/types/libentry/oh-package.json5 @@ -1,6 +1,6 @@ { "name": "libentry.so", "types": "./index.d.ts", - "version": "", + "version": "1.0.0", "description": "Please describe the basic information." } \ No newline at end of file diff --git a/entry/src/ohosTest/ets/test/LoginFunction.test.ets b/entry/src/ohosTest/ets/test/LoginFunction.test.ets index 981450d45791d9d0e8c00bf169daa09ce8be241f..7c44424840ad61999574c6a7b5de49c1b63140af 100644 --- a/entry/src/ohosTest/ets/test/LoginFunction.test.ets +++ b/entry/src/ohosTest/ets/test/LoginFunction.test.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import { inputMethod } from '@kit.InputMethodKit'; +import { inputMethod } from '@kit.IMEKit'; import { abilityDelegatorRegistry, Driver, ON } from '@kit.TestKit'; import { describe, expect, it } from '@ohos/hypium'; import { loginCheck } from '../testability/pages/Index';