修改了CROS的代码,options请求的origin为*。
This commit is contained in:
		@@ -16,7 +16,7 @@
 | 
			
		||||
            >
 | 
			
		||||
            <div class="title-wrapper">
 | 
			
		||||
                <span>"消7灭6"突围战</span>
 | 
			
		||||
                <span>二月入营坐席</span>
 | 
			
		||||
                <span>{{ props.month }}月入营坐席</span>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
@@ -37,9 +37,9 @@ export default {
 | 
			
		||||
            default: () => [],
 | 
			
		||||
        },
 | 
			
		||||
    },
 | 
			
		||||
    setup()
 | 
			
		||||
    setup( props )
 | 
			
		||||
    {
 | 
			
		||||
        return {};
 | 
			
		||||
        return { props, };
 | 
			
		||||
    },
 | 
			
		||||
};
 | 
			
		||||
</script>
 | 
			
		||||
 
 | 
			
		||||
@@ -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: "", // 车非渗透率
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user