Skip to content

Commit 7719a67

Browse files
committed
feat:前端增加再次生成功能方便调试
1 parent e3785f5 commit 7719a67

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 1.5.3.1
44
- 前端:调整数据源呈现格式
5-
- 前端:生成结果页面新增再次构建,方便修改模板时调试生成结果
5+
- 前端:生成结果页面新增再次生成,方便修改模板时调试生成结果
66
- 前后端:模板增加备注信息,更方便区分模板
77
- 前后端:生成历史新增删除构建历史功能,并调整列表呈现内容
88

front/src/views/generate/result.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<el-container>
77
<el-aside>
88
<el-button icon="el-icon-download" type="text" @click="downloadAll">下载全部</el-button>
9-
<el-button v-if="!loading" icon="el-icon-refresh" type="text" @click="reGenerate" style="float: right;">再次构建</el-button>
9+
<el-button v-if="!loading" icon="el-icon-refresh" type="text" @click="reGenerate" style="float: right;">再次生成</el-button>
1010
<el-input v-show="treeData.length > 0" v-model="filterText" prefix-icon="el-icon-search" placeholder="搜索" size="mini" clearable style="margin-bottom: 10px;"/>
1111
<el-tree ref="tree" :data="treeData" :props="defaultProps" :filter-node-method="filterNode" node-key="id" default-expand-all highlight-current @current-change="onTreeSelect"/>
1212
</el-aside>
@@ -104,7 +104,7 @@ export default {
104104
},
105105
reGenerate(){
106106
this.onGenerate()
107-
this.tip('构建成功')
107+
this.tip('生成成功')
108108
this.fileInfo = {
109109
content: '',
110110
fileName: ''

0 commit comments

Comments
 (0)