会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
首页
联系
Github
友情链接
博客园
管理
关于
暂未分类
.阍者
管理
2019年11月4日
Vuex的使用
摘要: Vuex 中 Store 的模板化定义 import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) const store = new Vuex.Store({ //存放数据 state: { }, actions: { }, mutati
阅读全文
posted @ 2019-11-04 16:38 GNightDearLamb
阅读(90)
评论(0)
推荐(0)
2019年10月25日
tp5允许跨域请求
摘要: 在入口文件加 1 header("Access-Control-Allow-Origin:*"); 2 header("Access-Control-Allow-Methods:GET, POST, OPTIONS, DELETE"); 3 header("Access-Control-Allow-Headers:DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-
阅读全文
posted @ 2019-10-25 10:55 GNightDearLamb
阅读(1194)
评论(0)
推荐(0)
公告
好文要赞
关注我
收藏该文
←
→
↓
↑