vue脚手架安装成功但是显示不是内部或外部命令,也不是可运行的程序 或批处理文文件时

摘要: 直接上连接 https://www.cnblogs.com/luobou/p/14991837.html 阅读全文
posted @ 2021-09-16 15:07 张花花 阅读(148) 评论(0) 推荐(0) 编辑

回到顶部

摘要: <template> <div id="app"> <div id="ds-nav"> <Header /> </div> <router-view /> <!-- 回到顶部 --> <div class="scrollTop" style="right: 40px; bottom: 40px" v 阅读全文
posted @ 2021-08-23 15:32 张花花 阅读(75) 评论(0) 推荐(0) 编辑

封装Axios请求

摘要: http.js import axios from "axios"; import { Message } from "element-ui"; // 请求拦截 axios.interceptors.request.use( (config) => { if (!config.headers) { 阅读全文
posted @ 2021-08-19 18:21 张花花 阅读(61) 评论(0) 推荐(0) 编辑

封装table

摘要: <template> <div class="table-main"> <div class="header"> <div v-for="(value, key) in tableHeader">{{ value }}</div> </div> <ul> <li v-for="item in tab 阅读全文
posted @ 2021-08-04 10:08 张花花 阅读(91) 评论(0) 推荐(0) 编辑

表单校验

摘要: name: [ { required: true, trigger: "blur", validator: (rule, value, callback) => { var flag = new RegExp( "[`~!@#$^&*()=|{}':;',\\[\\].<>《》/?~!@#¥……&* 阅读全文
posted @ 2021-06-17 16:39 张花花 阅读(44) 评论(0) 推荐(0) 编辑

树选择的渲染

摘要: 方法 get tProps() { let arr = []; const {findDoclist} = this.props.emr; findDoclist.map((item, key) => { arr.push({title: item.name,key:key,value:key,id 阅读全文
posted @ 2019-11-13 17:34 张花花 阅读(250) 评论(0) 推荐(0) 编辑

树选择的删除

摘要: _Del = ()=> { const {dispatch} = this.props; const {comboList} = this.props.signModel; const { selectedKeys } = this.state; const _this = this; consol 阅读全文
posted @ 2019-11-11 19:52 张花花 阅读(180) 评论(0) 推荐(0) 编辑

删除功能

摘要: html 阅读全文
posted @ 2019-11-01 16:18 张花花 阅读(214) 评论(0) 推荐(0) 编辑

带序号的列表删除

摘要: 1标签 2方法 阅读全文
posted @ 2019-10-29 14:51 张花花 阅读(167) 评论(0) 推荐(0) 编辑

用dispaly:flex 书写input

摘要: 布局: 阅读全文
posted @ 2019-10-14 11:59 张花花 阅读(308) 评论(0) 推荐(0) 编辑