diff --git a/src/views/cbc/cbe/index.vue b/src/views/cbc/cbe/index.vue index b3ddc772..63670fd3 100644 --- a/src/views/cbc/cbe/index.vue +++ b/src/views/cbc/cbe/index.vue @@ -329,14 +329,13 @@ let modalState: ModalStateType = reactive({ serialNumProfile: { displayMode: 'normal', geoScope: 'PLMNwide', - messageCode: '', }, //warningTypeProfile warningTypeProfile: { warningType: '', - emergencyUserAlert: 'false', - activatePopup: 'true', + emergencyUserAlert: false, + activatePopup: true, }, warningMessageProfile: { language: 'English', @@ -755,14 +754,14 @@ function pwsTypeChange(value: any) { modalState.from.warningTypeProfile.warningType = 'TEST'; modalState.from.eventName = 'etws_'; modalState.from.serialNumProfile.displayMode = 'immediate'; - modalState.from.warningTypeProfile.emergencyUserAlert = 'true'; - modalState.from.warningTypeProfile.activatePopup = 'true'; + modalState.from.warningTypeProfile.emergencyUserAlert = true; + modalState.from.warningTypeProfile.activatePopup = true; } else if (value === 'CMAS') { modalState.from.warningTypeProfile.warningType = ''; modalState.from.eventName = 'cmas_'; modalState.from.serialNumProfile.displayMode = 'normal'; - modalState.from.warningTypeProfile.emergencyUserAlert = 'false'; - modalState.from.warningTypeProfile.activatePopup = 'true'; + modalState.from.warningTypeProfile.emergencyUserAlert = false; + modalState.from.warningTypeProfile.activatePopup = true; } } @@ -1215,8 +1214,8 @@ onMounted(() => { modalState.from.warningTypeProfile.emergencyUserAlert " > - true - false + true + false @@ -1231,8 +1230,8 @@ onMounted(() => { :disabled="modalState.from.id" v-model:value="modalState.from.warningTypeProfile.activatePopup" > - true - false + true + false