This commit is contained in:
aaron 2026-02-23 11:48:29 +08:00
parent 4f2058e9f6
commit fe6f7a4b59

View File

@ -642,6 +642,10 @@
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script> <script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script> <script>
console.log('[DEBUG] Vue global:', typeof Vue);
console.log('[DEBUG] Vue.createApp:', typeof Vue?.createApp);
console.log('[DEBUG] axios:', typeof axios);
const { createApp } = Vue; const { createApp } = Vue;
createApp({ createApp({
@ -878,6 +882,13 @@
}, },
mounted() { mounted() {
console.log('[Vue] 应用已挂载,开始加载数据...'); console.log('[Vue] 应用已挂载,开始加载数据...');
console.log('[Vue] 当前状态:', {
currentTab: this.currentTab,
loading: this.loading,
serviceEnabled: this.serviceEnabled,
apiConfigured: this.apiConfigured,
autoTradingEnabled: this.autoTradingEnabled
});
this.refreshData(); this.refreshData();
// 不自动刷新,用户可以手动点击刷新按钮 // 不自动刷新,用户可以手动点击刷新按钮
}, },