修改了CROS的代码,options请求的origin为*。

This commit is contained in:
2023-05-17 20:24:44 +08:00
parent 21732f6bd2
commit 34c60ada3e
7 changed files with 126 additions and 66 deletions

View File

@@ -41,12 +41,12 @@
</div>
<div class="reward-wrapper">
<HonorListComponent
month=""
:month="ui.currentMonth"
:leading-reward="ui.leading_reward_gainers"
:advance-reward="ui.advance_reward_gainers"
/>
<DishonorListComponent
month=""
:month="ui.currentMonth"
:dishonor-persons="ui.dishonorPersons"
/>
</div>
@@ -79,9 +79,12 @@ export default {
},
setup()
{
const monthIndex = new Date();
const numInChinese = ["一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二",];
const router = useRouter();
const callerInfo: TelSaler = getCallerInfo();
const ui = reactive({
currentMonth: numInChinese[monthIndex.getMonth() - 1],
chartData: [0,], // 业绩表
totalArchievement: 0, // 总业绩
attaching_rate: "", // 车非渗透率