Commit c5d55e69 authored by qinj's avatar qinj

修改

parent c8c7da6e
......@@ -270,7 +270,7 @@
:on-success="handleAvatarSuccess"
:on-remove="handleRemoveFile"
action="https://jsonplaceholder.typicode.com/posts/"
accept=".doc,.txt,.pdf,.xls,.docx,.xlsx,.jpg,.png"
accept=".doc,.txt,.pdf,.xls,.docx,.xlsx "
:limit="1">
<el-button size="small"
type="primary">点击上传</el-button>
......@@ -472,7 +472,7 @@ export default {
this.$request(Customer.searchUrl, this.paramsToFormData(this.formData)).then((resp) => {
this.btnloading = false
this.$message.success('提交成功!')
this.handleClickGoBack()
this.$router.back()
}).catch((err) => {
this.btnloading=false
// this.$message({
......
......@@ -329,7 +329,7 @@
ref="uploadExcel"
action="https://jsonplaceholder.typicode.com/posts/"
:limit='1'
accept=".doc,.txt,.pdf,.xls,.docx,.xlsx,.jpg,.png"
accept=".doc,.txt,.pdf,.xls,.docx,.xlsx "
:on-success="handleAvatarSuccess"
:on-remove="handleRemoveFile"
:on-change="fileChange"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment