【修复】修复代码生成预览功能的代码不全问题

pull/37/head
小诺 2022-05-16 15:25:34 +08:00 committed by 小诺
parent 6877fbcd94
commit 37566d9141
2 changed files with 15 additions and 1 deletions

View File

@ -104,3 +104,17 @@ export function codeGenerateRunDown (parameter) {
responseType: 'blob'
})
}
/**
*
*
* @author yubaoshan
* @date 2022/05/16
*/
export function codeGenerateRunFileContent (parameter) {
return axios({
url: '/codeGenerate/runFileContent',
method: 'get',
params: parameter
})
}

View File

@ -8,7 +8,7 @@
<div>
<a-button type="primary" class="but_item" @click="copyContentCode(pane.content)" icon="copy">复制代码</a-button>
</div>
<a-textarea v-model="pane.content" autosize="true" ref="inputText" />
<a-textarea v-model="pane.content" :autoSize="true" ref="inputText" />
</a-tab-pane>
</a-tabs>
</a-card>