codecheck

Signed-off-by: 侯志雄 <houzhixiong1@h-partners.com>
This commit is contained in:
侯志雄 2024-11-08 11:36:24 +08:00
parent 4eba937d74
commit 25d75f043b
4 changed files with 1 additions and 16 deletions

View File

@ -19,7 +19,6 @@ import { GlobalContext } from './GlobalContext';
//import Storage from '@ohos.data.storage';
//let preference = Storage.getStorageSync(ConfigData.PREFERENCES_PATH);
this.storage = await dataStorage.getPreferences(
GlobalContext.getContext().getObject(GlobalContext.globalKeySettingsAbilityContext), ConfigData.PREFERENCES_PATH);

View File

@ -236,17 +236,6 @@ export default class PasswordInputController extends BaseSettingsController {
gotoRepeatPage() {
this.inputPassword = this.password;
this.isInputFirstTime = false;
// Router.replace({
// uri: 'pages/passwordRepeat',
// params: {
// 'prevPageUri': this.prevPageUri,
// 'pageRequestCode': this.pageRequestCode,
// 'pinChallenge': this.pinChallenge,
// 'pinToken': this.pinToken,
// 'inputPassword': this.password,
// 'passwordType': this.passwordType
// }
// });
}
//------------------------------ api ---------------------------

View File

@ -36,9 +36,7 @@ export class SettingListModel extends BaseModel {
* Get settingsList
*/
@Log
getSettingList() {
// return this.settingsList;
}
getSettingList() {}
/**
* Item on click

View File

@ -30,7 +30,6 @@ class LanguageAndRegionModel extends BaseModel {
private allLanguages: Array<string> = [];
private addStr = ConfigData.ADDLANGUAGES;
private regionStr = ConfigData.CURRENTREGION;
// private storage = data_storage.getStorageSync(AppStorage.Get(ConfigData.STORAGEPATHKEY) + '/languageAndRegion');
private storage;
private TAG = `${ConfigData.TAG} LanguageAndRegionModel`;