<template> <div class="patient"> <el-col :span="2"> <el-button type="success" @click="openInsertUserDialog">添加患者</el-button> </el-col> <el-col :span=" ...
分类:
编程语言 时间:
2020-05-13 09:54:16
阅读次数:
63
<template> <button @click="submit()" :disabled="isDisable">点击</button> </template> <script> export default { name: 'TestButton', data: function () { r ...
分类:
其他好文 时间:
2020-05-12 18:43:04
阅读次数:
140
安装js-xlsxnpminstallxlsx--save按钮添加导出事件<button@click="exportData">导出</button>定义导出方法exportData(){lettableData=[[‘姓名‘,‘年龄‘,‘性别‘,‘部门/小组‘]]//表格表头this.data.forEach(item=>{letrowData=[]rowData=
分类:
Web程序 时间:
2020-05-12 18:42:24
阅读次数:
61
安装js-xlsxnpminstallxlsx--save按钮添加导出事件<button@click="exportData">导出</button>定义导出方法exportData(){lettableData=[[‘姓名‘,‘年龄‘,‘性别‘,‘部门/小组‘]]//表格表头this.data.forEach(item=>{letrowData=[]rowData=
分类:
Web程序 时间:
2020-05-12 15:19:53
阅读次数:
140
转自 http://www.jb51.net/article/27444.htm jquery加载页面的方法(页面加载完成就执行),建议大家看下windows.onload与$(document).ready之间的区别。 1、$(function(){ $("#a").click(function( ...
分类:
Web程序 时间:
2020-05-12 09:59:50
阅读次数:
80
方法1: html: <div v-if='imgsback.length>0' class="flex"> <div class="img-box" v-for="(item, i) in imgsback" :key='i' > <img class="img" :src="item" alt= ...
分类:
Web程序 时间:
2020-05-11 18:49:46
阅读次数:
115
一、to +跳转路径 <router-link to="/">跳转到主页</router-link> 二、函数跳转 <button @click="goHome">[跳转到主页]</button> methods: { goHome () { this.$router.push('/Test') } ...
分类:
其他好文 时间:
2020-05-11 13:23:19
阅读次数:
58
实例 标记一个按钮: <menu> <command onclick="alert('Hello World')"> Click Me!</command> </menu> 亲自试一试 浏览器支持 IEFirefoxChromeSafariOpera 没有浏览器支持 <command> 标签。 只有 ...
分类:
Web程序 时间:
2020-05-11 11:45:26
阅读次数:
94
Abstract: Why you need to learn some ML knowledge at least. You know that ML has everwhere! When you are visiting though some e shop and click some go ...
分类:
其他好文 时间:
2020-05-11 00:39:46
阅读次数:
80
如图,一些元素除了class值外,其他属性都一样,而class值有多个,不能直接使用driver.find_element_by_class_name("new-tj2 active")定位元素,此时可以用css元素定位方法: driver.find_element_by_css_selector( ...
分类:
编程语言 时间:
2020-05-10 23:10:47
阅读次数:
396