!779 改checkcode

Merge pull request !779 from 侯志雄/master
This commit is contained in:
openharmony_ci 2024-11-08 10:18:29 +00:00 committed by Gitee
commit 3118a0b6e0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 3 additions and 17 deletions

View File

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

View File

@ -23,7 +23,7 @@
#include "hilog/log.h"
namespace OHOS::Settings {
static const OHOS::HiviewDFX::HiLogLabel SETTINGS_LABEL = { LOG_CORE, 0xD000501, "Settings" };
const OHOS::HiviewDFX::HiLogLabel SETTINGS_LABEL = { LOG_CORE, 0xD000501, "Settings" };
#define __FILENAME__ (__builtin_strrchr(__FILE__, '/') ? __builtin_strrchr(__FILE__, '/') + 1 : __FILE__)

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`;