BUG 27978

This commit is contained in:
aixianling
2022-03-02 17:47:54 +08:00
parent 22113c33ed
commit f9b623b538

View File

@@ -93,9 +93,8 @@ export default {
submitAddAcount() {
this.$refs.addAccountForm.validate(v => {
if (v) {
let {form: {logoUrl}} = this
this.form.logoUrl = logoUrl?.[0]?.url
this.instance.post("/appfinancialorganization/addOrUpdate", this.form).then(res => {
let {form: {logoUrl: logo}} = this, logoUrl = logo?.[0]?.url
this.instance.post("/appfinancialorganization/addOrUpdate", {...this.form, logoUrl}).then(res => {
if (res?.code == 0) {
this.$message.success("提交成功!")
this.dialog = false