Files
bj_power/bj_power_workstation/frontend/vite.config.js
T
SunYF 1cc93795ce feat(mes): 添加定时同步可生产数量到WMS及BOM项相关标准字段
- 在main.go中添加定时任务每10分钟同步可生产数量到WMS系统
- 为BomItem实体添加relatedStandard字段及相关CRUD方法
- 为InspectionRecord实体添加reportNo、materialCode、materialName等字段
- 更新ent schema确保新字段的验证和默认值设置
- 添加必要的数据库迁移和字段映射逻辑
2026-09-17 12:49:07 +08:00

19 lines
457 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// 构建输出到 Go 服务内嵌目录 ../web/staticemptyOutDir 清空旧产物)
export default defineConfig({
plugins: [vue()],
build: {
outDir: '../web/static',
emptyOutDir: false
},
server: {
port: 8893,
proxy: {
'/api': 'http://127.0.0.1:8892',
'/pdfopen': 'http://127.0.0.1:8892',
'/pdfview': 'http://127.0.0.1:8892'
}
}
})