【修复】修复代码生成预览功能的代码不全问题
This commit is contained in:
parent
6877fbcd94
commit
37566d9141
@ -104,3 +104,17 @@ export function codeGenerateRunDown (parameter) {
|
|||||||
responseType: 'blob'
|
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>
|
<div>
|
||||||
<a-button type="primary" class="but_item" @click="copyContentCode(pane.content)" icon="copy">复制代码</a-button>
|
<a-button type="primary" class="but_item" @click="copyContentCode(pane.content)" icon="copy">复制代码</a-button>
|
||||||
</div>
|
</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-tab-pane>
|
||||||
</a-tabs>
|
</a-tabs>
|
||||||
</a-card>
|
</a-card>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user