mirror of https://gitee.com/xiaonuobase/snowy
【修复】修复代码生成预览功能的代码不全问题
parent
6877fbcd94
commit
37566d9141
|
@ -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
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue