Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
shishuangxi
2024-04-18 10:29:50 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
229ebc06a9c9fbd992780adc8de992e99396cbe0
229ebc06
1 parent
aa3222b0
修复设置页面号码回显问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
sight_harmony/features/wdLogin/src/main/ets/pages/login/LoginInputComponent.ets
sight_harmony/features/wdLogin/src/main/ets/pages/login/LoginInputComponent.ets
View file @
229ebc0
import { Logger } from 'wdKit'
import { SpConstants } from 'wdConstant/Index'
import { Logger, SPHelper } from 'wdKit'
@Component
export struct LoginInputComponent {
...
...
@@ -16,15 +17,16 @@ export struct LoginInputComponent {
}.width('100%').padding({ left: 25, right: 25 })
}
aboutToAppear(){
a
sync a
boutToAppear(){
if (this.pageType == 1) {
this.phoneContent = '18655957611';
this.phoneContent = await SPHelper.default.get(SpConstants.USER_PHONE,"") as string;
Logger.debug("ddd")
}
}
@Builder
addCodeLayout() {
if (this.pageType == 1){
TextInput({ placeholder: this.securityPhone(
'18655957611'
) })
TextInput({ placeholder: this.securityPhone(
this.phoneContent
) })
.fontSize(16)
.height(48)
.maxLength(11)
...
...
Please
register
or
login
to post a comment