上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页
摘要: 注:组件信息流转的时候只能单向1 > 父子传参传参:通过属性prop:传递数据 a.父组件传参给子组件 子组件: <ul> <li v-for="item in dataList"></li> </ul> export default { prop: { //prop接收传过来的参数 dataLis 阅读全文
posted @ 2019-03-13 00:07 random_lee 阅读(1234) 评论(0) 推荐(0) 编辑
摘要: 第一步:设置不同的接口地址 找到文件:/config/dev.env.js 代码修改为: 1 2 3 4 5 6 7 var merge = require('webpack-merge') var prodEnv = require('./prod.env') module.exports = m 阅读全文
posted @ 2019-03-12 12:21 random_lee 阅读(8193) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/59d7173c78a9 阅读全文
posted @ 2019-02-25 16:59 random_lee 阅读(205) 评论(0) 推荐(0) 编辑
摘要: {{title1}}{{title}} 阅读全文
posted @ 2019-02-13 09:13 random_lee 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 修改settings.py文件 # pip3 install pymysql 修改__init__.py 文件 views.py 代码路径 阅读全文
posted @ 2019-01-23 23:20 random_lee 阅读(494) 评论(0) 推荐(0) 编辑
摘要: sudo lsof -nP -iTCP -sTCP:LISTEN | grep mysql 阅读全文
posted @ 2019-01-23 22:49 random_lee 阅读(689) 评论(0) 推荐(0) 编辑
摘要: jQuery获取: jQuery.parent(expr),找父亲节点,可以传入expr进行过滤,比如$("span").parent()或者$("span").parent(".class") jQuery.parents(expr),类似于jQuery.parents(expr),但是是查找所有 阅读全文
posted @ 2019-01-23 14:51 random_lee 阅读(39042) 评论(0) 推荐(0) 编辑
摘要: template_filter_demo 过滤器相关: 一、形式:小写{{ name | lower }} 二、串联:先转义文本到HTML,再转换每行到 <p> 标签{{ my_text|escape|linebreaks }} 三、过滤器的参数显示前30个字{{ bio | truncatewor 阅读全文
posted @ 2019-01-22 22:50 random_lee 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 1 """template_url_demo URL Configuration 2 3 The `urlpatterns` list routes URLs to views. For more information please see: 4 https://docs.djangoprojec 阅读全文
posted @ 2019-01-22 15:55 random_lee 阅读(475) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2018.cnblogs.com/blog/1311333/201901/1311333-20190120234435944-1860004216.png) 阅读全文
posted @ 2019-01-20 23:45 random_lee 阅读(602) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页