BUG 27978
This commit is contained in:
@@ -93,9 +93,8 @@ export default {
|
|||||||
submitAddAcount() {
|
submitAddAcount() {
|
||||||
this.$refs.addAccountForm.validate(v => {
|
this.$refs.addAccountForm.validate(v => {
|
||||||
if (v) {
|
if (v) {
|
||||||
let {form: {logoUrl}} = this
|
let {form: {logoUrl: logo}} = this, logoUrl = logo?.[0]?.url
|
||||||
this.form.logoUrl = logoUrl?.[0]?.url
|
this.instance.post("/appfinancialorganization/addOrUpdate", {...this.form, logoUrl}).then(res => {
|
||||||
this.instance.post("/appfinancialorganization/addOrUpdate", this.form).then(res => {
|
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.$message.success("提交成功!")
|
this.$message.success("提交成功!")
|
||||||
this.dialog = false
|
this.dialog = false
|
||||||
|
|||||||
Reference in New Issue
Block a user