页面: <template> <div> <el-button type="primary" @click="showsoftlist" >查看所有软件信息</el-button> <el-table :data="channel_data" border justify="center" styl ...
分类:
其他好文 时间:
2020-05-13 20:17:57
阅读次数:
60
请始终为按钮规定 type 属性。Internet Explorer 的默认类型是 "button",而其他浏览器中(包括 W3C 规范)的默认值是 "submit"。 ...
分类:
其他好文 时间:
2020-05-13 13:58:41
阅读次数:
67
1.Intent显式跳转页面 val button5 = findViewById<Button>(R.id.mButton5) button5.setOnClickListener { val intent = Intent() intent.setClass(this, ThirdActivit ...
分类:
其他好文 时间:
2020-05-13 11:58:06
阅读次数:
54
<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
封装一个Form表单组件和Table组件 有关后台管理系统之前写过四遍博客,看这篇之前最好先看下这四篇博客。另外这里只展示关键部分代码,项目代码放在github上: "mall manage system" 1、 "Vue + Element ui实现后台管理系统(1) 总述" 2、 "Vue + ...
分类:
其他好文 时间:
2020-05-12 22:01:54
阅读次数:
102
在前后端分离的时代,前端开发人员和后端开发人员的沟通显得尤为重要。如果不能做到及时有效的沟通,可能导致后端开发出来的接口,前端人员无法使用,从而导致后端开发人员不得不返工,甚至延长开发周期。在了解swagger之前我写好接口都是写一个txt文件,把接口地址,以及传参,返回数据都写好后再给前端人员。这 ...
分类:
其他好文 时间:
2020-05-12 22:01:37
阅读次数:
93
<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
Centos8系统发布已有一段时间,不少小伙伴开始上手使用。kubernetes1.18也发布了,今天作者使用kubeadm在Centos8系统上部署kubernetes。 1 系统准备 查看系统版本 [root@localhost]# cat /etc/centos-release CentOS ...
分类:
Web程序 时间:
2020-05-12 17:10:39
阅读次数:
76
核心代码 centerX、centerY为公共点,xInView、yInView为触摸点的坐标 /** *获取两条线的夹角 * @param centerX * @param centerY * @param xInView * @param yInView * @return */ public ...
分类:
移动开发 时间:
2020-05-12 16:58:40
阅读次数:
133