码迷,mamicode.com
首页 >  
搜索关键字:asa url    ( 44790个结果
Vue学习------------(32)axios
安装axios npm install axios --save axios使用 axios({ url: 'http://123.207.32.32:8000/home/multidata', method: 'get' }).then((res) => { console.log(res); } ...
分类:移动开发   时间:2021-03-29 12:04:07    阅读次数:0
Vue Router路由组件传参
在组件中使用 $route 会使之与其对应路由形成高度耦合,从而使组件只能在某些特定的 URL 上使用,限制了其灵活性。 使用 props 将组件和路由解耦 //router.js import Vue from 'vue' import Router from 'vue-router' impor ...
分类:其他好文   时间:2021-03-29 11:51:19    阅读次数:0
http重定向https
将http请求转发至https的URL 重定向 Redirect [status] URL-path URL status状态: Permanent: 返回永久重定向状态码 301 Temp:返回临时重定向状态码302. 此为默认值 示例: Redirect temp / https://www.m ...
分类:Web程序   时间:2021-03-29 11:49:48    阅读次数:0
微信小程序实现微信授权登录
首先,需要通过button按钮来弹出授权框 <button open-type="getUserInfo" @getuserinfo="getUserInfo">微信登录</button> getUserInfo(e) { //拿到用户信息 信息包含头像,昵称 let detail = e.deta ...
分类:微信   时间:2021-03-29 11:35:23    阅读次数:0
05.Restful风格
结合DRF框架提供标准RESTful API接口 https://www.cnblogs.com/xiaonq/p/10053234.html restful说明 1、RESTful不是一种技术,而是一种接口规范,主要规范包括:1.请求方式、2.状态码、3、url规范、4、传参规范 2、RESTfu ...
分类:其他好文   时间:2021-03-26 15:25:35    阅读次数:0
zipkin自定义追踪 tag
需要在工程的pom文件加上sleuth的起步依赖和zipkin的起步依赖,代码如下: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-sleuth</artifact ...
分类:其他好文   时间:2021-03-18 14:43:18    阅读次数:0
yum(错误:Cannot find a valid baseurl for repo: base)
问题原因在于官方在2020年12月2日正式将CentOS 6相关的软件源移出了官方源,随之而来逐级镜像也会陆续将其删除。 解决方案: curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliy ...
分类:Web程序   时间:2021-03-17 14:13:50    阅读次数:0
18 react-router
react-router: 它通过管理 URL,实现组件的切换和状态的变化,开发复杂的应用几乎肯定会用到。 用法:子路由也可以不写在Router组件里面,单独传入Router组件的routes属性。 组件有一个参数history,它的值hashHistory表示,路由的切换由URL的hash变化决定 ...
分类:其他好文   时间:2021-03-17 14:02:24    阅读次数:0
简单的python爬虫图片获取
# 图片爬取 import re import urllib import urllib.request def gethtml(url): page=urllib.request.urlopen(url) html=page.read() return html def getimg(html): ...
分类:编程语言   时间:2021-03-16 14:08:34    阅读次数:0
Vue 动态引入
界面 <template> <div align="center" > <component :is='modelUrl' ref='child' :data='data' ></component> </div> </template> 定义 data() { return { modelUrl: ...
分类:其他好文   时间:2021-03-16 14:03:20    阅读次数:0
44790条   上一页 1 ... 29 30 31 32 33 ... 4479 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!