chenlei пре 1 година
родитељ
комит
fc1ee2d70e

+ 4 - 0
packages/docs/.umirc.ts

@@ -139,6 +139,10 @@ export default defineConfig({
         title: "Events 事件",
         path: "/krpano/events",
       },
+      {
+        title: "Layer 图层",
+        path: "/krpano/layer",
+      },
     ],
   },
   // more config: https://d.umijs.org/config

+ 1 - 0
packages/docs/docs/krpano/index.md

@@ -183,6 +183,7 @@ export default () => {
         xml="./party.xml"
         webvrUrl="./krpano/1.21/plugins/webvr.xml"
         currentScene={currentScene}
+        littlePlanetIntro={true}
         passQueryParameters={true}
       >
         <Autorotate enabled={autorotateEnable} />

+ 3 - 0
packages/docs/docs/krpano/layer/index.md

@@ -0,0 +1,3 @@
+### API
+
+<API hideTitle exports='["Layer"]' src='@dage/krpano/index.d.ts'></API>

+ 7 - 0
packages/docs/docs/log/KRPANO_CHANGELOG.md

@@ -1,5 +1,12 @@
 # @dage/krpano
 
+## 2.2.0
+
+### Minor Changes
+
+- 新增 Action 和 Layer 标签
+  新增小行星视角
+
 ## 2.1.1
 
 ### Patch Changes

+ 7 - 0
packages/krpano/CHANGELOG.md

@@ -1,5 +1,12 @@
 # @dage/krpano
 
+## 2.2.0
+
+### Minor Changes
+
+- 新增 Action 和 Layer 标签
+  新增小行星视角
+
 ## 2.1.1
 
 ### Patch Changes

+ 1 - 1
packages/krpano/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@dage/krpano",
-  "version": "2.1.2",
+  "version": "2.2.0",
   "description": "krpano sdk",
   "module": "build/index.js",
   "main": "build/index.js",