上一页 1 ··· 12 13 14 15 16
摘要: 首先安装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 手可摘星辰/* 阅读(5433) 评论(0) 推荐(0) 编辑
摘要: 创建一级路由 from django.urls import path,include # 一级路由 urlpatterns = [ path('pinmeimei/', include('pinmeimei.urls')), ] 创建二级路由 from django.urls import pat 阅读全文
posted @ 2020-01-01 23:59 手可摘星辰/* 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 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 手可摘星辰/* 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 这里说明一下,配置文件中的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 手可摘星辰/* 阅读(1650) 评论(0) 推荐(1) 编辑
上一页 1 ··· 12 13 14 15 16