mirror of
https://github.com/woodchen-ink/aimodels-prices.git
synced 2025-07-18 13:41:59 +08:00
- 在 prices.go 中新增 ProcessPrice 函数,统一处理价格的创建和更新逻辑 - 更新 FetchAndSavePrices 和 UpdateOtherPrices 函数,使用 ProcessPrice 进行价格记录的处理 - 在 GetPrices 函数中添加状态筛选参数,优化价格查询功能 - 前端 Prices.vue 中调整搜索框和筛选功能的样式,提升用户体验 - 修复部分代码格式和样式问题,增强代码可读性
15 lines
277 B
JavaScript
15 lines
277 B
JavaScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
publicDir: 'public',
|
|
server: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:8080',
|
|
changeOrigin: true
|
|
}
|
|
}
|
|
}
|
|
})
|