1.父组件调用子组件里面的方法 <doctor-order ref="mychild"></doctor-order>(子组件 在父组件里引用的) this.$refs.mychild.getList(); 2.父组件向子组件传值 <prescription-panel :inputName="na ...
分类:
其他好文 时间:
2018-07-07 17:43:22
阅读次数:
190
题目链接:http://codeforces.com/gym/100989/problem/D In this cafeteria, the N tables are all ordered in one line, where table number 1 is the closest to th ...
分类:
其他好文 时间:
2018-07-06 14:17:55
阅读次数:
173
本文介绍三种方法进行文件输入输出,都非常实用 第一种方法是采用重定向的形式进行输入输出,很方便 记得包含头文件#include<cstdio> 第二种方法是使用C语言的形式进行输入输出 第三种方法是C++推荐的形式,以流的形式输入输出 OI选手推荐使用第一种方式 ...
分类:
其他好文 时间:
2018-07-06 01:40:34
阅读次数:
394
蓝图,听起来就是一个很宏伟的东西 在Flask中的蓝图 blueprint 也是非常宏伟的 它的作用就是将 功能 与 主服务 分开怎么理解呢? 比如说,你有一个客户管理系统,最开始的时候,只有一个查看客户列表的功能,后来你又加入了一个添加客户的功能(add_user)模块, 然后又加入了一个删除客户 ...
分类:
其他好文 时间:
2018-07-06 01:36:01
阅读次数:
200
是时候开始写个前端了,Flask中默认的模板语言是Jinja2 现在我们来一步一步的学习一下 Jinja2 捎带手把 render_template 中留下的疑问解决一下 首先我们要在后端定义几个字符串,用于传递到前端 但是前提我们要知道Jinja2模板中的流程控制: I. Jinja2模板语言中的 ...
分类:
编程语言 时间:
2018-07-06 01:23:26
阅读次数:
169
/** * 去掉文本中的html标签 * * @param inputString * @return */ public static String html2Text(String inputString) { if (StringUtils.isEmpty(inputString)) { re ...
分类:
编程语言 时间:
2018-07-05 23:13:57
阅读次数:
163
numpy与opencv 结果不一样,符号也不一样 [[-370.82513189 176.4954924 ] [-331.78746884 -429.58294685]]npU[[-0.3161301 -0.94871585] [-0.94871585 0.3161301 ]][[-0.31613 ...
分类:
其他好文 时间:
2018-07-05 19:58:57
阅读次数:
286