Commit 9918ee89 authored by “yiyousong”'s avatar “yiyousong”

fix: 修复接入区县编辑保存的时候报错的问题

parent 436c1a46
......@@ -190,18 +190,20 @@ export default {
// 编辑
onEdit(row) {
setTimeout(() => {
if (row.tag) {
row.tag = row.tag.split(",");
this.form = row;
if (this.form.tag) {
this.form.tag = this.form.tag.split(",");
} else {
this.form.tag = [];
}
if (row.bigPath) {
if (this.form.bigPath) {
this.fileList = [
{
name: row.bigPath,
url: row.bigPath,
name: this.form.bigPath,
url: this.form.bigPath,
},
];
}
this.form = row;
}, 10);
},
// 重置
......
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