上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 22 下一页
摘要: 内容过多: 宽度属性设置: 阅读全文
posted @ 2019-07-01 20:05 Panax 阅读(9067) 评论(2) 推荐(0)
摘要: html : data: 阅读全文
posted @ 2019-07-01 09:26 Panax 阅读(3544) 评论(1) 推荐(0)
摘要: <div class="block1"> <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" //页面变化时的函数 :current-page.sync="currentPage1" 阅读全文
posted @ 2019-06-29 15:26 Panax 阅读(20071) 评论(0) 推荐(0)
摘要: 可以看出报修类型并没有出现,这是因为prop 的值是一个true 或者false, 需要用 :formatter 去格式化一下。 现在可以了。 表格其他常用的属性: 1. :fit = true 表格自动撑开 2. :data= 'data' 后台获取的数据 3. sortable 时间进行排序 阅读全文
posted @ 2019-06-29 14:57 Panax 阅读(10862) 评论(2) 推荐(1)
摘要: html : 看一下官方的 name解释: 1. 与后台Swgg 的对应:(坑一) 它的错误也看下: MissingServletRequestPartException: Required request part 'file' is not present 2. 我们在来看下他的请求头错误,参数 阅读全文
posted @ 2019-06-27 15:14 Panax 阅读(989) 评论(0) 推荐(0)
摘要: 'use strict' import axios from 'axios' // import qs from 'qs' import { Notification} from 'element-ui' //使用elementui的提示显示 import { Loading } from 'element-ui' import router from "../router"; let l... 阅读全文
posted @ 2019-06-26 10:31 Panax 阅读(1310) 评论(0) 推荐(1)
摘要: 最近一直被纠结于传输格式,就在这里整理一下吧。 qs是一个npm仓库所管理的包,可通过npm install qs命令进行安装. (axios 自带qs , // import qs from 'qs') 1. qs.parse()将URL解析成对象的形式: 2. qs.stringify()将对象 阅读全文
posted @ 2019-06-26 10:12 Panax 阅读(9452) 评论(0) 推荐(0)
摘要: application/json和application/x-www-form-urlencoded都是表单数据发送时的编码类型。 EncType: enctype 属性规定在发送到服务器之前应该如何对表单数据进行编码。 默认地,表单数据会编码为 "application/x-www-form-ur 阅读全文
posted @ 2019-06-26 09:58 Panax 阅读(9451) 评论(0) 推荐(1)
摘要: //判断url地址 isUrl(str){ let reg = /[0-9a-zA-z]+.(html|htm|shtml|jsp|asp|php|com|cn|net|com.cn|org)$/; let isurl = reg.test(str); return isurl }, 阅读全文
posted @ 2019-06-18 15:46 Panax 阅读(441) 评论(0) 推荐(0)
摘要: sort() 方法在适当的位置对数组的元素进行排序,并返回数组。数组会按照字符的Unicode进行排序(把数组里面当成字符串处理) 1. 按升序排列: 2. 随机排序: 3. 按降序排列: 4. 根据参数属性值排序(sort方法接收一个函数作为参数,这里嵌套一层函数用来接收对象属性名,其他部分代码与 阅读全文
posted @ 2019-06-18 15:46 Panax 阅读(21736) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 22 下一页