@dcloudio/uni-cli-shared 3.0.0-alpha-4010420240426002 → 3.0.0-alpha-4010420240429002

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.
@@ -145,8 +145,7 @@ function initManifestFeature({ manifestJson, command, platform, }) {
145
145
  }
146
146
  function initFeatures(options) {
147
147
  const { wx, wxs, rpx, nvue, uniCloud, i18nEn, i18nEs, i18nFr, i18nZhHans, i18nZhHant, i18nLocale, vueOptionsApi, vueProdDevTools, vueProdHydrationMismatchDetails, pages, tabBar, tabBarMidButton, promise, longpress, routerMode, topWindow, leftWindow, rightWindow, navigationBar, pullDownRefresh, navigationBarButtons, navigationBarSearchInput, navigationBarTransparent, } = (0, shared_1.extend)(initManifestFeature(options), initPagesFeature(options), initProjectFeature(options));
148
- // uni-app-x运行时可调用$setPageStyle,需启用相关特性方可支持
149
- const isUniX = process.env.UNI_APP_X === 'true';
148
+ // uni-app-x运行时可调用$setPageStyle,需启用相关特性方可支持。否则$setPageStyle无效果
150
149
  const features = {
151
150
  // vue
152
151
  __VUE_OPTIONS_API__: vueOptionsApi, // enable/disable Options API support, default: true
@@ -175,8 +174,8 @@ function initFeatures(options) {
175
174
  __UNI_FEATURE_LEFTWINDOW__: leftWindow, // 是否包含leftWindow
176
175
  __UNI_FEATURE_RIGHTWINDOW__: rightWindow, // 是否包含rightWindow
177
176
  __UNI_FEATURE_RESPONSIVE__: topWindow || leftWindow || rightWindow, // 是否启用响应式
178
- __UNI_FEATURE_NAVIGATIONBAR__: isUniX || navigationBar, // 是否启用标题栏
179
- __UNI_FEATURE_PULL_DOWN_REFRESH__: isUniX || pullDownRefresh, // 是否启用下拉刷新
177
+ __UNI_FEATURE_NAVIGATIONBAR__: navigationBar, // 是否启用标题栏
178
+ __UNI_FEATURE_PULL_DOWN_REFRESH__: pullDownRefresh, // 是否启用下拉刷新
180
179
  __UNI_FEATURE_NAVIGATIONBAR_BUTTONS__: navigationBarButtons, // 是否启用标题栏按钮
181
180
  __UNI_FEATURE_NAVIGATIONBAR_SEARCHINPUT__: navigationBarSearchInput, // 是否启用标题栏搜索框
182
181
  __UNI_FEATURE_NAVIGATIONBAR_TRANSPARENT__: navigationBarTransparent, // 是否启用透明标题栏
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-cli-shared",
3
- "version": "3.0.0-alpha-4010420240426002",
3
+ "version": "3.0.0-alpha-4010420240429002",
4
4
  "description": "@dcloudio/uni-cli-shared",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,8 +26,8 @@
26
26
  "@babel/core": "^7.23.3",
27
27
  "@babel/parser": "^7.23.9",
28
28
  "@babel/types": "^7.20.7",
29
- "@dcloudio/uni-i18n": "3.0.0-alpha-4010420240426002",
30
- "@dcloudio/uni-shared": "3.0.0-alpha-4010420240426002",
29
+ "@dcloudio/uni-i18n": "3.0.0-alpha-4010420240429002",
30
+ "@dcloudio/uni-shared": "3.0.0-alpha-4010420240429002",
31
31
  "@intlify/core-base": "9.1.9",
32
32
  "@intlify/shared": "9.1.9",
33
33
  "@intlify/vue-devtools": "9.1.9",
@@ -69,7 +69,7 @@
69
69
  },
70
70
  "gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
71
71
  "devDependencies": {
72
- "@dcloudio/uni-uts-v1": "3.0.0-alpha-4010420240426002",
72
+ "@dcloudio/uni-uts-v1": "3.0.0-alpha-4010420240429002",
73
73
  "@types/babel__code-frame": "^7.0.6",
74
74
  "@types/babel__core": "^7.1.19",
75
75
  "@types/debug": "^4.1.7",