@@ -11,7 +11,7 @@ import logoUrl from './assets/opentiny-logo.svg?url'
11
11
import GitHub from './icons/Github.vue'
12
12
import Share from './icons/Share.vue'
13
13
14
- const VERSION = 'tiny-vue-version-3.21 '
14
+ const VERSION = 'tiny-vue-version-3.22 '
15
15
const NOTIFY_KEY = 'tiny-vue-playground-notify'
16
16
const LAYOUT = 'playground-layout'
17
17
const LAYOUT_REVERSE = 'playground-layout-reverse'
@@ -23,7 +23,7 @@ const isMobileFirst = tinyMode === 'mobile-first'
23
23
const isSaas = tinyTheme === 'saas'
24
24
const isPreview = searchObj.get('openMode') === 'preview' // 是否多端弹窗预览
25
25
26
- const versions = ['3.21 ', '3.20 ', '3.19 ']
26
+ const versions = ['3.22 ', '3.21 ', '3.20 ']
27
27
const getVersion = () => {
28
28
if (isPreview) {
29
29
return versions[0]
@@ -84,9 +84,8 @@ const createImportMap = (version) => {
84
84
'sortablejs': `${cdnHost}/sortablejs${versionDelimiter}1.15.0/${fileDelimiter}modular/sortable.esm.js`
85
85
}
86
86
if (['aurora', 'saas', 'smb'].includes(tinyTheme)) {
87
- imports[
88
- `@opentiny/vue-design-${tinyTheme}`
89
- ] = `${cdnHost}/@opentiny/vue-design-${tinyTheme}${versionDelimiter}${version}/${fileDelimiter}index.js`
87
+ imports[`@opentiny/vue-design-${tinyTheme}`] =
88
+ `${cdnHost}/@opentiny/vue-design-${tinyTheme}${versionDelimiter}${version}/${fileDelimiter}index.js`
90
89
}
91
90
if (isSaas) {
92
91
imports['@opentiny/vue-icon'] = `${getRuntime(version)}tiny-vue-icon-saas.mjs`
0 commit comments