Skip to content

Commit 27216a9

Browse files
authored
docs: update playground (#3264)
1 parent 86f7f0e commit 27216a9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

examples/sites/playground/App.vue

+4-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import logoUrl from './assets/opentiny-logo.svg?url'
1111
import GitHub from './icons/Github.vue'
1212
import Share from './icons/Share.vue'
1313
14-
const VERSION = 'tiny-vue-version-3.21'
14+
const VERSION = 'tiny-vue-version-3.22'
1515
const NOTIFY_KEY = 'tiny-vue-playground-notify'
1616
const LAYOUT = 'playground-layout'
1717
const LAYOUT_REVERSE = 'playground-layout-reverse'
@@ -23,7 +23,7 @@ const isMobileFirst = tinyMode === 'mobile-first'
2323
const isSaas = tinyTheme === 'saas'
2424
const isPreview = searchObj.get('openMode') === 'preview' // 是否多端弹窗预览
2525
26-
const versions = ['3.21', '3.20', '3.19']
26+
const versions = ['3.22', '3.21', '3.20']
2727
const getVersion = () => {
2828
if (isPreview) {
2929
return versions[0]
@@ -84,9 +84,8 @@ const createImportMap = (version) => {
8484
'sortablejs': `${cdnHost}/sortablejs${versionDelimiter}1.15.0/${fileDelimiter}modular/sortable.esm.js`
8585
}
8686
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`
9089
}
9190
if (isSaas) {
9291
imports['@opentiny/vue-icon'] = `${getRuntime(version)}tiny-vue-icon-saas.mjs`

0 commit comments

Comments
 (0)