# activity **Repository Path**: foam_balls/activity ## Basic Information - **Project Name**: activity - **Description**: 寒假项目活动页面 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-14 - **Last Updated**: 2025-07-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ####vuex 引入样例 import {mapState,mapActions,mapMutations} from "vuex", computed:{ ...mapState(['userInfo'])//获取用户 id 等信息 }, methods:{ ...mapActions(['getUser']), ...mapMutations(['getUser']) } ##########接口文档 http://sso.dev.cnki.net/api/swagger/ui/index http://sso.dev.cnki.net/api/swagger/ui/index#!/Credential/Credential_Get http://sso-master.dev.cnki.net:18002/Notices/ContentView?id=7 ##AAMS 更新计划-20201201 http://sso-master.dev.cnki.net:18002/Notices/ContentView?id=2 #####内网 10.120.130.180 P@$$W0rd105180 内网 http://sso.dev.cnki.net xtest: https://xtest.cnki.net 正式: https://gateway.cnki.net ####webpack proxy context 匹配是从头开始模糊匹配比如:context:['/api']与 context['apisso']是同一个 context 中的代理必须是小写比如 context:['/Api']是无法匹配,应该为 context:['api'] "pathRewrite": { // 如果接口本身没有/Api 需要通过 pathRewrite 来重写了地址,这里把/api 转成'/Api' "^/api": "/Api" } ``` sensors-data='{"event_id":"","event_target":""}' ```