摘要: 二:Vue之ElementUI Form表单校验 (注:本文适用于有一定Vue基础或开发经验的读者,文章就知识点的讲解不一定全面,但却是开发过程中很实用的) 表单校验是前端开发过程中最常用到的功能之一,根据个人的工作经验总结在此对表单校验功能的基础用法进行整理说明~ 如下代码是Form表单校验的de 阅读全文
posted @ 2021-05-10 14:31 tomofagain 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 1)安装node版本管理模块nsudo npm install n -g1下边步骤请根据自己需要选择 (2)安装稳定版sudo n stable1(3)安装最新版sudo n latest1(4) 版本降级/升级sudo n 版本号1比如需要8.4.0版: (5)检测目前安装了哪些版本的noden1 阅读全文
posted @ 2020-08-07 11:21 tomofagain 阅读(1139) 评论(0) 推荐(0) 编辑
摘要: react项目创建流程 react.js 2.9k 次阅读 · 读完需要 25 分钟 15 react 项目搭建 系统: windows 1.安装 node node 下载地址.一路 next 如果遇到 windows 没有权限安装 msi 文件.打开 cmd,运行msiexec /package 阅读全文
posted @ 2019-11-07 10:16 tomofagain 阅读(494) 评论(0) 推荐(0) 编辑
摘要: 话不多说,直接上一个简单的demo <script> export default { name : "demoJsx", data () { return { dataList : [ { text : "one", id : 1 }, { text : "two", id : 2 }, { te 阅读全文
posted @ 2019-11-06 16:36 tomofagain 阅读(140) 评论(0) 推荐(0) 编辑
摘要: npm 是干什么的? 12018.11.09 00:26:05字数 1170阅读 9740 12018.11.09 00:26:05字数 1170阅读 9740 网上的 npm 教程主要都在讲怎么安装、配置和使用 npm ,却很少告诉新人「npm 是干什么的?」「为什么要使用 npm?」。今天我就来 阅读全文
posted @ 2019-09-26 13:55 tomofagain 阅读(295) 评论(0) 推荐(0) 编辑
摘要: TypeScript环境搭建 TypeScript环境搭建 TypeScript环境搭建 TypeScript环境搭建 1、安装node环境 进入nodejs官网(http://nodejs.cn),下载最新版的nodejs包,进行安装。 安装好之后,打开命令行模式(快捷键win+R,输入cmd打开 阅读全文
posted @ 2019-09-12 16:12 tomofagain 阅读(292) 评论(0) 推荐(0) 编辑
摘要: ●&ensp;{{scope.row.healthy == false ? "异常" : "正常"}} 调用详情 ... 阅读全文
posted @ 2019-07-19 14:38 tomofagain 阅读(8379) 评论(1) 推荐(0) 编辑
摘要: 1、设置请求头为 Content-Type= 'application/x-www-form-urlencoded;charset=UTF-8' 时 前端请求时 传json 时 正常要转为 JSON.stringify(obj); 如果是vue的话 引入 qs ( npm install qs => 阅读全文
posted @ 2019-07-10 20:53 tomofagain 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 一、html部分 (只需要一个带ID的table即可) <table id="tb_departments"></table>二、主要部分(js动态渲染配置) window.onload = function () { } 阅读全文
posted @ 2019-06-20 15:36 tomofagain 阅读(7603) 评论(0) 推荐(0) 编辑
摘要: 1、在 conf/nginx.conf 中,很多都是默认配置,笔者把注释去掉,添加了自己少量的配置 worker_processes 1; events { worker_connections 1024;} http { include mime.types; default_type appli 阅读全文
posted @ 2019-06-14 10:59 tomofagain 阅读(222) 评论(0) 推荐(0) 编辑