bug
This commit is contained in:
@@ -218,6 +218,7 @@
|
||||
:isShowTip="true"
|
||||
:instance="instance"
|
||||
v-model="form.fileList"
|
||||
fileType="file"
|
||||
acceptType=".zip,.rar,.doc,.docx,.xls,.ppt,.pptx,.pdf,.txt,.jpg,.png,.xlsx"
|
||||
:limit="9">
|
||||
<template slot="tips">
|
||||
@@ -592,6 +593,9 @@ export default {
|
||||
if(!this.isEdit) {
|
||||
this.form.partyOrgId = this.$route.query.partyOrgId
|
||||
}
|
||||
if (this.form.fileList.length > 0) {
|
||||
this.form.files = JSON.stringify(this.form.fileList)
|
||||
}
|
||||
this.instance.post(`/app/apppartydevelop/addOrUpdate`, {...this.form}).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success(this.isEdit ? "编辑成功" : "添加成功");
|
||||
|
||||
Reference in New Issue
Block a user