Some checks failed
Docker Build & Deploy / Build Docker Image (push) Failing after 6s
Docker Build & Deploy / Deploy to Production (push) Has been skipped
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 2s
Docker Build & Deploy / WeChat Notification (push) Successful in 2s
- Added BudgetArchiveJob for monthly budget archiving. - Created BudgetArchive entity and BudgetArchiveRepository for managing archived budgets. - Introduced JobController for handling job execution, pausing, and resuming. - Developed ScheduledTasksView for displaying and managing scheduled tasks in the frontend. - Updated PeriodicBillJob to improve scope handling. - Enhanced OpenAiService with increased HTTP timeout. - Added archiveBudgets API endpoint for archiving budgets by year and month. - Refactored BudgetController to utilize new repository patterns and improved error handling. - Introduced rich-content styles for better rendering of HTML content in Vue components. - Updated various Vue components to support rich HTML content display.
30 lines
597 B
JavaScript
30 lines
597 B
JavaScript
import './assets/main.css'
|
|
import './styles/common.css'
|
|
import './styles/rich-content.css'
|
|
|
|
import { createApp } from 'vue'
|
|
import { createPinia } from 'pinia'
|
|
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import vant from 'vant'
|
|
import { ConfigProvider } from 'vant';
|
|
import 'vant/lib/index.css'
|
|
|
|
// 注册 Service Worker
|
|
import { register } from './registerServiceWorker'
|
|
|
|
const app = createApp(App)
|
|
|
|
app.use(createPinia())
|
|
app.use(router)
|
|
app.use(vant)
|
|
app.use(ConfigProvider);
|
|
|
|
app.mount('#app')
|
|
|
|
// 在生产环境注册 Service Worker
|
|
if (import.meta.env.PROD) {
|
|
register()
|
|
}
|