feat: 修复 Redis 超时问题、固定小程序端口、新增人生事件模块及优化多个页面
- 修复 Redis 超时:添加 commons-pool2 依赖,启用 Lettuce 连接池,超时提升至 15s - 固定 mini-program H5 端口为 5175,避免与 web 项目端口冲突 - 新增人生事件(life-event)模块:表单和详情页面 - 新增 EpicScript 灵感接口(Controller/Service/DTO) - 优化登录、引导、主页、记录、剧本详情等多个页面 - 优化服务管理脚本和 Nginx 配置 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,11 @@ const vueCompatPlugin = () => {
|
||||
"export * from 'vue/dist/vue.runtime.esm-bundler.js'",
|
||||
'export default VueRuntime',
|
||||
'export const injectHook = () => {}',
|
||||
'export const isInSSRComponentSetup = () => false'
|
||||
'export const isInSSRComponentSetup = () => false',
|
||||
'export const logError = (err) => { console.error(err) }',
|
||||
'export const createVueApp = VueRuntime.createApp',
|
||||
'export const onBeforeActivate = () => {}',
|
||||
'export const onBeforeDeactivate = () => {}'
|
||||
].join('\n')
|
||||
}
|
||||
}
|
||||
@@ -38,6 +42,7 @@ export default defineConfig(({ command }) => {
|
||||
envDir: __dirname,
|
||||
publicDir: resolve(__dirname, 'static'),
|
||||
server: {
|
||||
port: 5175,
|
||||
watch: {
|
||||
usePolling: true,
|
||||
interval: 100
|
||||
|
||||
Reference in New Issue
Block a user