下载按钮:<buttonclass="layui-btnlayui-btn-sm"data-type="downTemplate">模板下载</button>对应方法:downTemplate:function(){window.open(ctx+"/download/template/customer");},java控制层:importorg.apache.common
分类:
编程语言 时间:
2020-05-20 09:21:18
阅读次数:
54
在模板绑定数据 发表人 <input type="text" v-model="user"> </br> 发表内容 <input type="text" v-model="content"> </br> <input type="button" value="发表评论" @click="fabiao ...
分类:
其他好文 时间:
2020-05-19 20:20:24
阅读次数:
109
小编提醒大家,一定要看到文章最后欧,有惊喜哦 你为什么不通过发送电子邮件传输信息? 不使用数据库就能接收到传入的消息,绝对是最佳选择,也是最方便用户的选择。但问题来了—如何实现呢?你可能认为需要使用某种后端语言。 实际上,你不必使用任何如 php 或 python 这种后端语言,你甚至不需要用到 n ...
分类:
编程语言 时间:
2020-05-19 14:27:20
阅读次数:
65
移动端不能使用click,因为click会有300ms。所有有了fastclick这样的解决方案。然后fastclick并没有解决点击态(用户点击的瞬间要有及时的外观变化反馈)的问题。hover会有不消失的问题,所有大家一般用:active。利用 :active 伪类来设置某元素被点击时的点击态样式 ...
分类:
其他好文 时间:
2020-05-19 10:28:10
阅读次数:
60
1.先创建虚拟环境 conda create --name pytorch python=3.6 这里的pytorch是虚拟环境的名字 2.activate pytorch 进入虚拟环境 一般情况下,condarc文件出现在/home/user目录下,但有时会出现找不到情况,解决办法如下: 创建co ...
分类:
其他好文 时间:
2020-05-18 23:02:07
阅读次数:
90
import React, { Component } from 'react' import { Form, Upload, Button, message } from 'antd'; export default @Form.create() class ImgUpload extends C ...
分类:
Web程序 时间:
2020-05-18 22:25:41
阅读次数:
249
一次性插入,不再修改:v-once <body> <div id="app"> <h1>{{message}}</h1> <h1 v-once>v-once:{{message}}</h1> <button type="button" @click="changetext">改变文字</button ...
分类:
其他好文 时间:
2020-05-17 21:49:56
阅读次数:
71
概念:按字节流进行读写操作的设备,读写数据分先后。 举例:led、button、I2C、SPI、LCD等。 Linux应用程序对驱动程序的调用: Linux一切皆文件,驱动程序加载成功之后就会在"/dev"目录下生成一个相对应的文件,应用程序通过对这个"/dev/xxx"进行open(),read( ...
分类:
其他好文 时间:
2020-05-17 19:07:28
阅读次数:
52
不断更新中 预览 这是一个正在完善的css文件,是对原生组件基于标签属性做了美化,对datepicker,select等无法用css实现的暂不考虑在本文内。 按钮 Button 初始按钮 <button>button</button> <button class="red">red</button> ...
分类:
Web程序 时间:
2020-05-17 12:56:41
阅读次数:
71
Recoil allows us to use atoms in order to store pieces of state. More often than not in our apps we need to use data that derives from our application ...
分类:
其他好文 时间:
2020-05-16 20:48:21
阅读次数:
81