摘要: 上传控件使用总结。 <el-form-item class="el-for-item" label="上传升级包" :label-width="formLabelWidth"> <el-upload class="upload-demo" ref="upload" :with-credentials 阅读全文
posted @ 2020-09-14 18:33 一介桃白白 阅读(887) 评论(0) 推荐(1)
摘要: 由于项目需求,需要这么一个下拉多选框,萌新的我在使用过程中也是踩了一些坑,在此记录总结一下。 <el-form-item class="el-for-item" label="所属应用" :label-width="formLabelWidth"> <el-select class="el-inpu 阅读全文
posted @ 2020-09-14 15:20 一介桃白白 阅读(5318) 评论(0) 推荐(0)
摘要: 常见的Content-Type: application/x-www-form-urlencoded 当设置好Content-Type参数不进行序列化你会发现还是走的json方式请求。 举例: var params = { pageIndex : that.packnowpage, customNa 阅读全文
posted @ 2020-09-14 10:52 一介桃白白 阅读(513) 评论(0) 推荐(0)
摘要: POST提交数据的三种请求方式写法 1、Content-Type: application/json 默认请求方式,在不设置Content-Type情况下默认为application/json请求方式 2、Content-Type: multipart/form-data //表单上传 var fo 阅读全文
posted @ 2020-09-14 10:06 一介桃白白 阅读(3360) 评论(0) 推荐(0)
摘要: //新增 var params = { deviceName:this.dtypefrom.deviceName, deviceFirstCode:FirstCode, deviceSecondCode:SecondCode, firstSecondCode:this.dtypefrom.first 阅读全文
posted @ 2020-09-14 09:43 一介桃白白 阅读(844) 评论(0) 推荐(0)