@opentiny/vue-docs 3.20.1 → 3.20.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentiny/vue-docs",
3
- "version": "3.20.1",
3
+ "version": "3.20.2",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@opentiny/vue-repl": "^1.1.2",
@@ -16,20 +16,20 @@
16
16
  "vue": "^3.4.31",
17
17
  "vue-i18n": "^9.1.10",
18
18
  "vue-router": "4.1.5",
19
+ "@opentiny/vue": "~3.20.0",
19
20
  "@opentiny/vue-design-saas": "~3.20.0",
20
- "@opentiny/vue-design-smb": "~3.20.0",
21
- "@opentiny/vue-directive": "~3.20.0",
22
21
  "@opentiny/vue-design-aurora": "~3.20.0",
23
- "@opentiny/vue-icon-multicolor": "~3.20.0",
24
- "@opentiny/vue-hooks": "~3.20.0",
25
22
  "@opentiny/vue-common": "~3.20.1",
23
+ "@opentiny/vue-design-smb": "~3.20.0",
24
+ "@opentiny/vue-hooks": "~3.20.0",
25
+ "@opentiny/vue-directive": "~3.20.0",
26
26
  "@opentiny/vue-icon": "~3.20.0",
27
+ "@opentiny/vue-icon-multicolor": "~3.20.0",
27
28
  "@opentiny/vue-icon-saas": "~3.20.0",
28
- "@opentiny/vue": "~3.20.0",
29
- "@opentiny/vue-vite-import": "~1.2.0",
30
- "@opentiny/vue-theme-saas": "~3.20.0",
29
+ "@opentiny/vue-theme": "~3.20.0",
31
30
  "@opentiny/vue-theme-mobile": "~3.20.0",
32
- "@opentiny/vue-theme": "~3.20.0"
31
+ "@opentiny/vue-theme-saas": "~3.20.0",
32
+ "@opentiny/vue-vite-import": "~1.2.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@playwright/test": "~1.42.0",
@@ -11,7 +11,7 @@
11
11
  :data="menuOptions"
12
12
  :menu-collapsible="true"
13
13
  :filter-node-method="searchMenu"
14
- :show-filter="false"
14
+ :show-filter="isShowFilter"
15
15
  @current-change="clickMenu"
16
16
  @collapse-change="collapseChange"
17
17
  >
@@ -140,6 +140,9 @@ export default defineComponent({
140
140
  }
141
141
  let routerCbDestroy = null
142
142
 
143
+ const envTarget = import.meta.env.VITE_BUILD_TARGET || 'open'
144
+ const isShowFilter = envTarget !== 'open'
145
+
143
146
  watch(
144
147
  () => route.path,
145
148
  (currentVal) => {
@@ -187,7 +190,8 @@ export default defineComponent({
187
190
  clickMenuLink,
188
191
  getWord,
189
192
  i18nByKey,
190
- isThemeSaas
193
+ isThemeSaas,
194
+ isShowFilter
191
195
  }
192
196
  }
193
197
  })