页面刷新
This commit is contained in:
@@ -6,6 +6,9 @@ import { PLVMediaPlayerStartUp } from '../startup/PLVMediaPlayerStartUp';
|
||||
import contextConstant from '@ohos.app.ability.contextConstant';
|
||||
import { patientDbManager } from '@itcast/basic';
|
||||
import { HMRouterMgr } from '@hadss/hmrouter'
|
||||
import { BusinessError } from '@kit.BasicServicesKit'
|
||||
import pushService from '@hms.core.push.pushService'
|
||||
|
||||
const DOMAIN = 0x0000;
|
||||
|
||||
export default class EntryAbility extends UIAbility {
|
||||
@@ -24,6 +27,12 @@ export default class EntryAbility extends UIAbility {
|
||||
logLevel: 'DEBUG'
|
||||
});
|
||||
|
||||
notificationManager.requestEnableNotification().then(() => {
|
||||
console.info(`[ANS] requestEnableNotification success`);
|
||||
}).catch((err:BusinessError) => {
|
||||
console.error(`[ANS] requestEnableNotification failed, code is ${err.code}, message is ${err.message}`);
|
||||
});
|
||||
|
||||
this.context.area = contextConstant.AreaMode.EL2
|
||||
PLVMediaPlayerStartUp.start(this.context)
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@ export class NimRepository {
|
||||
//linkUrl: 'imtest-jd.netease.im:8091'
|
||||
},
|
||||
pushServiceConfig: {
|
||||
harmonyCertificateName: "DEMO_HMOS_PUSH"
|
||||
harmonyCertificateName: "igandanHarmony"
|
||||
},
|
||||
databaseServiceConfig: {
|
||||
encrypt: false,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { MassSendingComp } from 'patient'
|
||||
import { GroupMessageSendingComp } from 'patient'
|
||||
import { HMDefaultGlobalAnimator, HMNavigation } from '@hadss/hmrouter';
|
||||
import { AttributeUpdater } from '@kit.ArkUI';
|
||||
|
||||
@@ -32,7 +32,7 @@ struct GroupSendMessagePage {
|
||||
modifier:this.modifier
|
||||
}
|
||||
}) {
|
||||
MassSendingComp()
|
||||
GroupMessageSendingComp()
|
||||
}
|
||||
}
|
||||
.height('100%')
|
||||
|
||||
@@ -3,12 +3,6 @@ import { PatientDetailsComp } from 'patient'
|
||||
@Entry
|
||||
@Component
|
||||
struct PatientDetailsPage {
|
||||
@Provide refreshFlag:boolean = false;
|
||||
|
||||
onPageShow(): void {
|
||||
this.refreshFlag = !this.refreshFlag;
|
||||
}
|
||||
|
||||
build() {
|
||||
Column() {
|
||||
PatientDetailsComp()
|
||||
|
||||
@@ -44,6 +44,10 @@
|
||||
{
|
||||
"name": "ohos.extension.backup",
|
||||
"resource": "$profile:backup_config"
|
||||
},
|
||||
{
|
||||
"name":"client_id",
|
||||
"value":"6917576212737428569"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user