会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
星辰
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
12
13
14
15
16
2020年1月2日
配置Vue前端跨域
摘要: 首先安装axios npm install axios 其次在config下的index.js中修改proxyTable proxyTable: { '/api': { target:'http://127.0.0.1:8000', // secure: false, // 如果是https接口,需
阅读全文
posted @ 2020-01-02 00:17 手可摘星辰/*
阅读(5445)
评论(0)
推荐(0)
2020年1月1日
drf 序列化获取商品分类数据
摘要: 创建一级路由 from django.urls import path,include # 一级路由 urlpatterns = [ path('pinmeimei/', include('pinmeimei.urls')), ] 创建二级路由 from django.urls import pat
阅读全文
posted @ 2020-01-01 23:59 手可摘星辰/*
阅读(508)
评论(0)
推荐(0)
2019年12月12日
npm install 安装依赖报错
摘要: npm ERR! Unexpected end of JSON input while parsing near '...2.4.8","karma":"~0.10' 如上:我们在终端用npm install 安装依赖时,有时会报上述错误。 解决方法: 清除缓存 npm cache clean --
阅读全文
posted @ 2019-12-12 20:04 手可摘星辰/*
阅读(624)
评论(0)
推荐(0)
2019年11月18日
解决python安装第三方库超时问题
摘要: 这里说明一下,配置文件中的url还可以换成下面的URL 临时更改镜像源阿里云 http://mirrors.aliyun.com/pypi/simple/中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/豆瓣(douban) http://pypi.dou
阅读全文
posted @ 2019-11-18 19:59 手可摘星辰/*
阅读(1675)
评论(0)
推荐(1)
上一页
1
···
12
13
14
15
16
公告