@mpxjs/core 2.10.1-beta.3 → 2.10.1-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -576,7 +576,7 @@ export function getDefaultOptions ({ type, rawOptions = {}, currentInject }) {
|
|
|
576
576
|
const isCustom = pageConfig.navigationStyle === 'custom'
|
|
577
577
|
navigation.setOptions({
|
|
578
578
|
headerShown: !isCustom,
|
|
579
|
-
title: pageConfig.navigationBarTitleText || '',
|
|
579
|
+
title: pageConfig.navigationBarTitleText?.trim() || '',
|
|
580
580
|
headerStyle: {
|
|
581
581
|
backgroundColor: pageConfig.navigationBarBackgroundColor || '#000000'
|
|
582
582
|
},
|