提交 b7c5b7ec 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

fix: 修复 id 及条件编译生成错误

上级 1ece6dad
......@@ -383,7 +383,7 @@
"enablePullDownRefresh": false
}
},
// #ifndef APP-ANDROID || APP-IOS
// #ifdef WEB
{
"path": "pages/component/movable-view/movable-view",
"group": "0,1,5",
......@@ -392,7 +392,7 @@
}
},
// #endif
// #ifndef APP-ANDROID || APP-IOS
// #ifdef WEB
{
"path": "pages/component/label/label",
"group": "0,3,5",
......@@ -401,7 +401,7 @@
}
},
// #endif
// #ifndef APP-ANDROID || APP-IOS
// #ifdef WEB
{
"path": "pages/component/picker/picker",
"group": "0,3,6",
......@@ -410,7 +410,7 @@
}
},
// #endif
// #ifndef APP-ANDROID || APP-IOS
// #ifdef WEB
{
"path": "pages/component/map/map",
"group": "0,6",
......@@ -419,7 +419,7 @@
}
},
// #endif
// #ifndef APP-ANDROID || APP-IOS
// #ifdef WEB
{
"path": "pages/component/cover-view/cover-view",
"group": "0,1,6",
......@@ -428,7 +428,7 @@
}
},
// #endif
// #ifndef APP-ANDROID || APP-IOS
// #ifdef WEB
{
"path": "pages/component/editor/editor",
"group": "0,3,4",
......@@ -437,7 +437,7 @@
}
},
// #endif
// #ifndef APP-ANDROID || APP-IOS
// #ifdef WEB
{
"path": "pages/API/open-location/open-location",
"group": "1,8,1",
......@@ -446,7 +446,7 @@
}
},
// #endif
// #ifndef APP-ANDROID || APP-IOS
// #ifdef WEB
{
"path": "pages/API/choose-location/choose-location",
"group": "1,8,2",
......@@ -490,7 +490,7 @@
"navigationBarTitleText": "getApp | 获取当前应用实例"
}
},
// #ifndef APP-IOS || WEB
// #ifdef APP-ANDROID
{
"path": "pages/API/exit/exit",
"group": "1,1,5",
......@@ -499,7 +499,7 @@
}
},
// #endif
// #ifndef APP-IOS || WEB
// #ifdef APP-ANDROID
{
"path": "pages/API/install-apk/install-apk",
"group": "1,6,6",
......@@ -928,7 +928,7 @@
"enablePullDownRefresh": false
}
},
// #ifndef APP-IOS || WEB
// #ifdef APP-ANDROID
{
"path": "pages/API/create-request-permission-listener/create-request-permission-listener",
"group": "1,6,16",
......@@ -966,7 +966,6 @@
"enablePullDownRefresh": false
}
},
// #ifndef WEB
{
"path": "pages/API/request-payment/request-payment/order-detail",
"style": {
......@@ -974,8 +973,7 @@
"enablePullDownRefresh": false
}
},
// #endif
// #ifndef APP-ANDROID || APP-IOS
// #ifdef WEB
{
"path": "pages/API/make-phone-call/make-phone-call",
"group": "1,6,9",
......@@ -984,7 +982,7 @@
}
},
// #endif
// #ifndef APP-ANDROID || APP-IOS
// #ifdef WEB
{
"path": "pages/API/create-inner-audio-context/create-inner-audio-context",
"group": "1,7,9",
......@@ -993,19 +991,23 @@
}
},
// #endif
// #ifdef WEB
{
"path": "pages/API/inner-audio/inner-audio-format",
"path": "pages/API/create-inner-audio-context/inner-audio-format",
"style": {
"navigationBarTitleText": "inner-audio-format"
}
},
// #endif
// #ifdef WEB
{
"path": "pages/API/inner-audio/inner-audio-path",
"path": "pages/API/create-inner-audio-context/inner-audio-path",
"style": {
"navigationBarTitleText": "inner-audio-path"
}
},
// #ifndef APP-ANDROID || APP-IOS
// #endif
// #ifdef WEB
{
"path": "pages/API/clipboard/clipboard",
"group": "1,6,10",
......@@ -1014,7 +1016,7 @@
}
},
// #endif
// #ifndef APP-ANDROID || APP-IOS
// #ifdef WEB
{
"path": "pages/API/compass/compass",
"group": "1,6,11",
......@@ -1754,64 +1756,64 @@
"name": "组件",
"children": [
{
"id": "公共属性和事件",
"id": "component.public-properties-events",
"name": "公共属性和事件"
},
{
"id": "视图容器",
"id": "component.view-container",
"name": "视图容器",
"children": [
{
"id": "view",
"id": "component.view-container.view",
"name": "view"
},
{
"id": "scroll-view",
"id": "component.view-container.scroll-view",
"name": "scroll-view"
},
{
"id": "swiper",
"id": "component.view-container.swiper",
"name": "swiper"
},
null,
null,
{
"id": "movable-view",
"id": "component.view-container.movable-view",
"name": "movable-view"
},
{
"id": "cover-view",
"id": "component.view-container.cover-view",
"name": "cover-view"
},
null,
{
"id": "list-view",
"id": "component.view-container.list-view",
"name": "list-view"
},
{
"id": "sticky",
"id": "component.view-container.sticky",
"name": "sticky",
"children": [
{
"id": "sticky-header",
"id": "component.view-container.sticky.sticky-header",
"name": "sticky-header"
},
{
"id": "sticky-section",
"id": "component.view-container.sticky.sticky-section",
"name": "sticky-section"
}
]
},
{
"id": "nested-scroll",
"id": "component.view-container.nested-scroll",
"name": "nested-scroll",
"children": [
{
"id": "nested-scroll-header",
"id": "component.view-container.nested-scroll.nested-scroll-header",
"name": "nested-scroll-header"
},
{
"id": "nested-scroll-body",
"id": "component.view-container.nested-scroll.nested-scroll-body",
"name": "nested-scroll-body"
}
]
......@@ -1819,118 +1821,118 @@
]
},
{
"id": "基础内容",
"id": "component.basic-content",
"name": "基础内容",
"children": [
null,
{
"id": "text",
"id": "component.basic-content.text",
"name": "text"
},
{
"id": "rich-text",
"id": "component.basic-content.rich-text",
"name": "rich-text"
},
{
"id": "progress",
"id": "component.basic-content.progress",
"name": "progress"
}
]
},
{
"id": "表单组件",
"id": "component.form-component",
"name": "表单组件",
"children": [
{
"id": "button",
"id": "component.form-component.button",
"name": "button"
},
{
"id": "checkbox",
"id": "component.form-component.checkbox",
"name": "checkbox"
},
{
"id": "form",
"id": "component.form-component.form",
"name": "form"
},
{
"id": "input",
"id": "component.form-component.input",
"name": "input"
},
{
"id": "editor",
"id": "component.form-component.editor",
"name": "editor"
},
{
"id": "label",
"id": "component.form-component.label",
"name": "label"
},
{
"id": "picker",
"id": "component.form-component.picker",
"name": "picker"
},
{
"id": "picker-view",
"id": "component.form-component.picker-view",
"name": "picker-view"
},
{
"id": "radio",
"id": "component.form-component.radio",
"name": "radio"
},
{
"id": "slider",
"id": "component.form-component.slider",
"name": "slider"
},
{
"id": "switch",
"id": "component.form-component.switch",
"name": "switch"
},
{
"id": "textarea",
"id": "component.form-component.textarea",
"name": "textarea"
}
]
},
{
"id": "导航",
"id": "component.navigation",
"name": "导航",
"children": [
{
"id": "navigator",
"id": "component.navigation.navigator",
"name": "navigator"
}
]
},
{
"id": "媒体组件",
"id": "component.media",
"name": "媒体组件",
"children": [
null,
{
"id": "image",
"id": "component.media.image",
"name": "image"
},
{
"id": "video",
"id": "component.media.video",
"name": "video"
}
]
},
{
"id": "地图",
"id": "component.map",
"name": "地图"
},
{
"id": "画布",
"id": "component.canvas",
"name": "画布"
},
{
"id": "网页",
"id": "component.web-view",
"name": "网页"
},
null,
{
"id": "unicloud",
"id": "component.unicloud",
"name": "unicloud"
}
]
......@@ -1940,195 +1942,195 @@
"name": "API",
"children": [
{
"id": "全局",
"id": "api.global",
"name": "全局",
"children": [
{
"id": "getApp",
"id": "api.global.getApp",
"name": "getApp"
},
{
"id": "getCurrentPages",
"id": "api.global.getCurrentPages",
"name": "getCurrentPages"
}
]
},
{
"id": "基础",
"id": "api.base",
"name": "基础",
"children": [
{
"id": "env",
"id": "api.base.env",
"name": "env"
},
{
"id": "eventBus",
"id": "api.base.eventBus",
"name": "eventBus"
},
null,
{
"id": "interceptor",
"id": "api.base.interceptor",
"name": "interceptor"
},
{
"id": "getLaunchOptionsSync",
"id": "api.base.getLaunchOptionsSync",
"name": "getLaunchOptionsSync"
},
{
"id": "exit",
"id": "api.base.exit",
"name": "exit"
}
]
},
{
"id": "页面和路由",
"id": "api.page",
"name": "页面和路由",
"children": [
{
"id": "navigator",
"id": "api.page.navigator",
"name": "navigator"
},
{
"id": "setNavigationBarColor",
"id": "api.page.setNavigationBarColor",
"name": "setNavigationBarColor"
},
{
"id": "setNavigationBarTitle",
"id": "api.page.setNavigationBarTitle",
"name": "setNavigationBarTitle"
},
null,
{
"id": "pullDownRefresh",
"id": "api.page.pullDownRefresh",
"name": "pullDownRefresh"
},
{
"id": "pageScrollTo",
"id": "api.page.pageScrollTo",
"name": "pageScrollTo"
}
]
},
{
"id": "Dom 节点",
"id": "api.dom",
"name": "Dom 节点",
"children": [
{
"id": "getElementById",
"id": "api.dom.getElementById",
"name": "getElementById"
},
{
"id": "createSelectorQuery",
"id": "api.dom.createSelectorQuery",
"name": "createSelectorQuery"
}
]
},
{
"id": "界面",
"id": "api.ui",
"name": "界面",
"children": [
null,
{
"id": "showActionSheet",
"id": "api.ui.showActionSheet",
"name": "showActionSheet"
},
{
"id": "showModal",
"id": "api.ui.showModal",
"name": "showModal"
},
{
"id": "showLoading",
"id": "api.ui.showLoading",
"name": "showLoading"
},
{
"id": "showToast",
"id": "api.ui.showToast",
"name": "showToast"
},
{
"id": "loadFontFace",
"id": "api.ui.loadFontFace",
"name": "loadFontFace"
},
{
"id": "rpx2px",
"id": "api.ui.rpx2px",
"name": "rpx2px"
},
{
"id": "themeChange",
"id": "api.ui.themeChange",
"name": "themeChange"
}
]
},
{
"id": "网络",
"id": "api.network",
"name": "网络",
"children": [
{
"id": "request",
"id": "api.network.request",
"name": "request"
},
{
"id": "uploadFile",
"id": "api.network.uploadFile",
"name": "uploadFile"
},
{
"id": "downloadFile",
"id": "api.network.downloadFile",
"name": "downloadFile"
},
{
"id": "getNetworkType",
"id": "api.network.getNetworkType",
"name": "getNetworkType"
},
{
"id": "websocket",
"id": "api.network.websocket",
"name": "websocket"
}
]
},
{
"id": "设备",
"id": "api.device",
"name": "设备",
"children": [
{
"id": "getSystemInfo",
"id": "api.device.getSystemInfo",
"name": "getSystemInfo"
},
{
"id": "getDeviceInfo",
"id": "api.device.getDeviceInfo",
"name": "getDeviceInfo"
},
{
"id": "getWindowInfo",
"id": "api.device.getWindowInfo",
"name": "getWindowInfo"
},
{
"id": "getAppBaseInfo",
"id": "api.device.getAppBaseInfo",
"name": "getAppBaseInfo"
},
{
"id": "getAppAuthorizeSetting",
"id": "api.device.getAppAuthorizeSetting",
"name": "getAppAuthorizeSetting"
},
{
"id": "getSystemSetting",
"id": "api.device.getSystemSetting",
"name": "getSystemSetting"
},
{
"id": "installApk",
"id": "api.device.installApk",
"name": "installApk"
},
null,
{
"id": "getBatteryInfo",
"id": "api.device.getBatteryInfo",
"name": "getBatteryInfo"
},
{
"id": "makePhoneCall",
"id": "api.device.makePhoneCall",
"name": "makePhoneCall"
},
{
"id": "clipboard",
"id": "api.device.clipboard",
"name": "clipboard"
},
{
"id": "compass",
"id": "api.device.compass",
"name": "compass"
},
null,
......@@ -2136,120 +2138,120 @@
null,
null,
{
"id": "createRequestPermissionListener",
"id": "api.device.createRequestPermissionListener",
"name": "createRequestPermissionListener"
}
]
},
{
"id": "媒体",
"id": "api.media",
"name": "媒体",
"children": [
{
"id": "chooseImage",
"id": "api.media.chooseImage",
"name": "chooseImage"
},
{
"id": "previewImage",
"id": "api.media.previewImage",
"name": "previewImage"
},
{
"id": "saveImageToPhotosAlbum",
"id": "api.media.saveImageToPhotosAlbum",
"name": "saveImageToPhotosAlbum"
},
{
"id": "getImageInfo",
"id": "api.media.getImageInfo",
"name": "getImageInfo"
},
{
"id": "compressImage",
"id": "api.media.compressImage",
"name": "compressImage"
},
{
"id": "chooseVideo",
"id": "api.media.chooseVideo",
"name": "chooseVideo"
},
{
"id": "saveVideoToPhotosAlbum",
"id": "api.media.saveVideoToPhotosAlbum",
"name": "saveVideoToPhotosAlbum"
},
{
"id": "getVideoInfo",
"id": "api.media.getVideoInfo",
"name": "getVideoInfo"
},
{
"id": "compressVideo",
"id": "api.media.compressVideo",
"name": "compressVideo"
},
{
"id": "createInnerAudioContext",
"id": "api.media.createInnerAudioContext",
"name": "createInnerAudioContext"
}
]
},
{
"id": "位置",
"id": "api.location",
"name": "位置",
"children": [
{
"id": "getLocation",
"id": "api.location.getLocation",
"name": "getLocation"
},
{
"id": "openLocation",
"id": "api.location.openLocation",
"name": "openLocation"
},
{
"id": "chooseLocation",
"id": "api.location.chooseLocation",
"name": "chooseLocation"
}
]
},
{
"id": "数据存储",
"id": "api.storage",
"name": "数据存储"
},
{
"id": "文件",
"id": "api.file",
"name": "文件",
"children": [
{
"id": "getFileSystemManager",
"id": "api.file.getFileSystemManager",
"name": "getFileSystemManager"
}
]
},
{
"id": "登录与认证",
"id": "api.loginVerify",
"name": "登录与认证",
"children": [
{
"id": "getUniverifyManager",
"id": "api.loginVerify.getUniverifyManager",
"name": "getUniverifyManager"
},
{
"id": "facialRecognitionMetaInfo",
"id": "api.loginVerify.facialRecognitionMetaInfo",
"name": "facialRecognitionMetaInfo"
}
]
},
{
"id": "广告",
"id": "api.ad",
"name": "广告",
"children": [
{
"id": "createRewardedVideoAd",
"id": "api.ad.createRewardedVideoAd",
"name": "createRewardedVideoAd"
}
]
},
null,
{
"id": "支付",
"id": "api.payment",
"name": "支付",
"children": [
{
"id": "requestPayment",
"id": "api.payment.requestPayment",
"name": "requestPayment"
}
]
......@@ -2257,23 +2259,23 @@
null,
null,
{
"id": "uniCloud客户端API",
"id": "api.unicloud",
"name": "uniCloud客户端API",
"children": [
{
"id": "cloudFunction",
"id": "api.unicloud.cloudFunction",
"name": "cloudFunction"
},
{
"id": "cloudObject",
"id": "api.unicloud.cloudObject",
"name": "cloudObject"
},
{
"id": "cloudStorage",
"id": "api.unicloud.cloudStorage",
"name": "cloudStorage"
},
{
"id": "database",
"id": "api.unicloud.database",
"name": "database"
}
]
......@@ -2291,7 +2293,7 @@
null,
null,
{
"id": "Element 实例",
"id": "api.elementInstance",
"name": "Element 实例"
}
]
......@@ -2301,89 +2303,89 @@
"name": "组件",
"children": [
{
"id": "width",
"id": "css.properties.width",
"name": "width",
"children": [
{
"id": "width",
"id": "css.properties.width.width",
"name": "width"
},
{
"id": "min-width",
"id": "css.properties.width.min-width",
"name": "min-width"
},
{
"id": "max-width",
"id": "css.properties.width.max-width",
"name": "max-width"
}
]
},
{
"id": "height",
"id": "css.properties.height",
"name": "height",
"children": [
{
"id": "height",
"id": "css.properties.height.height",
"name": "height"
},
{
"id": "min-height",
"id": "css.properties.height.min-height",
"name": "min-height"
},
{
"id": "max-height",
"id": "css.properties.height.max-height",
"name": "max-height"
}
]
},
{
"id": "margin",
"id": "css.properties.margin",
"name": "margin",
"children": [
{
"id": "margin",
"id": "css.properties.margin.margin",
"name": "margin"
},
{
"id": "margin-top",
"id": "css.properties.margin.margin-top",
"name": "margin-top"
},
{
"id": "margin-bottom",
"id": "css.properties.margin.margin-bottom",
"name": "margin-bottom"
},
{
"id": "margin-left",
"id": "css.properties.margin.margin-left",
"name": "margin-left"
},
{
"id": "margin-right",
"id": "css.properties.margin.margin-right",
"name": "margin-right"
}
]
},
{
"id": "padding",
"id": "css.properties.padding",
"name": "padding",
"children": [
{
"id": "padding",
"id": "css.properties.padding.padding",
"name": "padding"
},
{
"id": "padding-top",
"id": "css.properties.padding.padding-top",
"name": "padding-top"
},
{
"id": "padding-bottom",
"id": "css.properties.padding.padding-bottom",
"name": "padding-bottom"
},
{
"id": "padding-left",
"id": "css.properties.padding.padding-left",
"name": "padding-left"
},
{
"id": "padding-right",
"id": "css.properties.padding.padding-right",
"name": "padding-right"
}
]
......@@ -2394,80 +2396,80 @@
"name": "display"
},
{
"id": "visibility",
"id": "css.properties.visibility",
"name": "visibility"
},
{
"id": "flex",
"id": "css.properties.flex",
"name": "flex",
"children": [
{
"id": "flex",
"id": "css.properties.flex.flex",
"name": "flex"
},
{
"id": "flex-direction",
"id": "css.properties.flex.flex-direction",
"name": "flex-direction"
},
{
"id": "justify-content",
"id": "css.properties.flex.justify-content",
"name": "justify-content"
},
null,
{
"id": "align-items",
"id": "css.properties.flex.align-items",
"name": "align-items"
},
null,
{
"id": "align-content",
"id": "css.properties.flex.align-content",
"name": "align-content"
},
{
"id": "flex-grow",
"id": "css.properties.flex.flex-grow",
"name": "flex-grow"
},
{
"id": "flex-shrink",
"id": "css.properties.flex.flex-shrink",
"name": "flex-shrink"
},
{
"id": "flex-basis",
"id": "css.properties.flex.flex-basis",
"name": "flex-basis"
},
{
"id": "flex-flow",
"id": "css.properties.flex.flex-flow",
"name": "flex-flow"
}
]
},
{
"id": "background",
"id": "css.properties.background",
"name": "background",
"children": [
null,
{
"id": "background-color",
"id": "css.properties.background.background-color",
"name": "background-color"
},
{
"id": "background-image",
"id": "css.properties.background.background-image",
"name": "background-image"
}
]
},
{
"id": "position",
"id": "css.properties.position",
"name": "position",
"children": [
{
"id": "position",
"id": "css.properties.position.position",
"name": "position"
}
]
},
{
"id": "z-index",
"id": "css.properties.z-index",
"name": "z-index"
},
{
......@@ -2476,15 +2478,15 @@
},
null,
{
"id": "border",
"id": "css.properties.border",
"name": "border",
"children": [
{
"id": "border",
"id": "css.properties.border.border",
"name": "border"
},
{
"id": "border-style",
"id": "css.properties.border.border-style",
"name": "border-style"
},
null,
......@@ -2492,7 +2494,7 @@
null,
null,
{
"id": "border-width",
"id": "css.properties.border.border-width",
"name": "border-width"
},
null,
......@@ -2500,7 +2502,7 @@
null,
null,
{
"id": "border-color",
"id": "css.properties.border.border-color",
"name": "border-color"
},
null,
......@@ -2508,7 +2510,7 @@
null,
null,
{
"id": "border-radius",
"id": "css.properties.border.border-radius",
"name": "border-radius"
},
null,
......@@ -2516,88 +2518,88 @@
null,
null,
{
"id": "border-top",
"id": "css.properties.border.border-top",
"name": "border-top"
},
{
"id": "border-bottom",
"id": "css.properties.border.border-bottom",
"name": "border-bottom"
},
{
"id": "border-left",
"id": "css.properties.border.border-left",
"name": "border-left"
},
{
"id": "border-right",
"id": "css.properties.border.border-right",
"name": "border-right"
}
]
},
{
"id": "text",
"id": "css.properties.text",
"name": "text",
"children": [
{
"id": "color",
"id": "css.properties.text.color",
"name": "color"
},
{
"id": "font-size",
"id": "css.properties.text.font-size",
"name": "font-size"
},
{
"id": "font-family",
"id": "css.properties.text.font-family",
"name": "font-family"
},
{
"id": "font-style",
"id": "css.properties.text.font-style",
"name": "font-style"
},
{
"id": "font-weight",
"id": "css.properties.text.font-weight",
"name": "font-weight"
},
null,
{
"id": "text-decoration-line",
"id": "css.properties.text.text-decoration-line",
"name": "text-decoration-line"
},
null,
null,
null,
{
"id": "text-align",
"id": "css.properties.text.text-align",
"name": "text-align"
},
{
"id": "text-overflow",
"id": "css.properties.text.text-overflow",
"name": "text-overflow"
},
{
"id": "line-height",
"id": "css.properties.text.line-height",
"name": "line-height"
},
null,
{
"id": "letter-spacing",
"id": "css.properties.text.letter-spacing",
"name": "letter-spacing"
}
]
},
{
"id": "box-shadow",
"id": "css.properties.box-shadow",
"name": "box-shadow"
},
{
"id": "transition",
"id": "css.properties.transition",
"name": "transition"
},
{
"id": "transform",
"id": "css.properties.transform",
"name": "transform"
},
{
"id": "pointer-events",
"id": "css.properties.pointer-events",
"name": "pointer-events"
},
null,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册