|
@@ -214,10 +214,10 @@
|
|
|
// 新增文章相关
|
|
// 新增文章相关
|
|
|
toEdit(row) {
|
|
toEdit(row) {
|
|
|
if(row && row.id) {
|
|
if(row && row.id) {
|
|
|
- this.dialogTitle += '编辑';
|
|
|
|
|
|
|
+ this.dialogTitle = '编辑';
|
|
|
this.currentArticle = row;
|
|
this.currentArticle = row;
|
|
|
} else {
|
|
} else {
|
|
|
- this.dialogTitle += '新增'
|
|
|
|
|
|
|
+ this.dialogTitle = '新增'
|
|
|
this.currentArticle = null
|
|
this.currentArticle = null
|
|
|
}
|
|
}
|
|
|
this.dialogVisible = true;
|
|
this.dialogVisible = true;
|