update code

dev_xds
haha 2024-04-22 22:58:44 +08:00
parent 70a406f8c1
commit 96816e8cc4
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ export default {
title: "", title: "",
ord: 0, ord: 0,
magid: 0, magid: 0,
topic: "1", topic: "",
authorPhone: '', authorPhone: '',
authorName: '', authorName: '',
deptid: null, deptid: null,
@ -222,7 +222,7 @@ export default {
if (row) { if (row) {
this.form.title = row.title; this.form.title = row.title;
this.form.ord = row.ord; this.form.ord = row.ord;
this.form.topic = row.topic; this.form.topic = ""+row.topic;
this.form.imageUrl = this.$tryToJson(row.images).map(d => { this.form.imageUrl = this.$tryToJson(row.images).map(d => {
return { name: d, url: d }; return { name: d, url: d };
}) })