Skip to content

A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物

fix(i18n): fix curly quotes and missing @ alias in vite config

ghostubbornfbaa3dbbeb2c
diff --git a/frontend/src/components/Step2EnvSetup.vue b/frontend/src/components/Step2EnvSetup.vue
index b10adb43..0d84a6f4 100644
--- a/frontend/src/components/Step2EnvSetup.vue
+++ b/frontend/src/components/Step2EnvSetup.vue
@@ -501,7 +501,7 @@
</span>
</div>
<div class="auto-desc">
- <p class="highlight-tip" @click="useCustomRounds = true">{{ $t(‘step2.customTip’) }} ➝</p>
+ <p class="highlight-tip" @click="useCustomRounds = true">{{ $t('step2.customTip') }} ➝</p>
</div>
</div>
</div>
diff --git a/frontend/vite.config.js b/frontend/vite.config.js
index f88fdea8..8f1e4c11 100644
--- a/frontend/vite.config.js
+++ b/frontend/vite.config.js
@@ -7,6 +7,7 @@ export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
+ '@': path.resolve(__dirname, 'src'),
'@locales': path.resolve(__dirname, '../locales')
}
},