From b7972d844a4a8c25c8fa0bb6e1b5a767d7337ee8 Mon Sep 17 00:00:00 2001 From: betavs Date: Tue, 29 Oct 2024 20:15:00 +0800 Subject: [PATCH] chore(playground): update latest version --- examples/sites/package.json | 2 +- examples/sites/playground/App.vue | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/sites/package.json b/examples/sites/package.json index 6d4275936d..7983bddfc5 100644 --- a/examples/sites/package.json +++ b/examples/sites/package.json @@ -28,8 +28,8 @@ "@opentiny/vue-directive": "workspace:~", "@opentiny/vue-hooks": "workspace:~", "@opentiny/vue-icon": "workspace:~", - "@opentiny/vue-icon-saas": "workspace:~", "@opentiny/vue-icon-multicolor": "workspace:~", + "@opentiny/vue-icon-saas": "workspace:~", "@opentiny/vue-repl": "^1.1.2", "@opentiny/vue-theme": "workspace:~", "@opentiny/vue-theme-mobile": "workspace:~", diff --git a/examples/sites/playground/App.vue b/examples/sites/playground/App.vue index 2a3c44a98f..acf9edd8f5 100644 --- a/examples/sites/playground/App.vue +++ b/examples/sites/playground/App.vue @@ -28,7 +28,7 @@ const isMobileFirst = tinyMode === 'mobile-first' const isSaas = tinyTheme === 'saas' const isPreview = searchObj.get('openMode') === 'preview' // 是否多端弹窗预览 -const versions = ['3.18', '3.17', '3.16', '3.15', '3.14', '3.13', '3.12', '3.11', '3.10', '3.9', '3.8'] +const versions = ['3.19', '3.18', '3.17', '3.16', '3.15', '3.14', '3.13', '3.12', '3.11', '3.10', '3.9', '3.8'] const latestVersion = isPreview ? versions[0] : localStorage.getItem(VERSION) || versions[0] const cdnHost = localStorage.getItem('setting-cdn') @@ -72,8 +72,9 @@ const createImportMap = (version) => { 'sortablejs': `${cdnHost}/sortablejs${versionDelimiter}1.15.0/${fileDelimiter}modular/sortable.esm.js` } if (['aurora', 'saas'].includes(tinyTheme)) { - imports[`@opentiny/vue-design-${tinyTheme}`] = - `${cdnHost}/@opentiny/vue-design-${tinyTheme}${versionDelimiter}${version}/${fileDelimiter}index.js` + imports[ + `@opentiny/vue-design-${tinyTheme}` + ] = `${cdnHost}/@opentiny/vue-design-${tinyTheme}${versionDelimiter}${version}/${fileDelimiter}index.js` } if (isSaas) { imports['@opentiny/vue-icon'] = `${getRuntime(version)}tiny-vue-icon-saas.mjs`