src/App.vue
@@ -29,13 +29,7 @@ }) } provide('reload', reload) // 临时初始化:写入 userId 与 unitId,便于本地联调后端下单接口 if (!userStore.getUserId) { userStore.userId = '1' } if (!userStore.getUnitId) { userStore.unitId = '1' } setInterval(() => { // 这个判断代表登录成功后才开始写入时间 if(userStore.getAdminToken) {