Skip to content

Commit

Permalink
实现Word导出功能
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoymin committed Jun 30, 2020
1 parent 29ca350 commit d67fe59
Show file tree
Hide file tree
Showing 8 changed files with 1,178 additions and 6 deletions.
3 changes: 1 addition & 2 deletions knife4j-admin-ui/vue.config.js
Expand Up @@ -15,8 +15,7 @@ module.exports = {
devServer: {
proxy: {
"/": {
/* target: "http://localhost:19011/", */
target: "http://cloud.xiaominfo.com/",
target: "http://localhost:19011/",
ws: true,
changeOrigin: true
}
Expand Down
1 change: 1 addition & 0 deletions knife4j-vue/src/assets/common/lang/en.js
Expand Up @@ -313,6 +313,7 @@ const langOptions = {
imple:'This feature has not been implemented ...',
markdown:'Downloading Markdown file, please wait...',
html:'Downloading Html file, please wait...',
word:'Downloading Word file, please wait...',
copy: 'Copy',
toomany: 'The current number of interfaces exceeds the limit. Please use the third-party markdown conversion software for conversion to see the effect.',
note: 'swagger-bootstrap-ui provides markdwon-formatted offline documents that developers can copy and convert to HTML or PDF through other markdown conversion tools..'
Expand Down
1 change: 1 addition & 0 deletions knife4j-vue/src/assets/common/lang/zh.js
Expand Up @@ -314,6 +314,7 @@ const langOptions = {
imple:'该功能尚未实现...',
markdown:'正在下载Markdown文件中,请稍后...',
html:'正在下载Html中,请稍后...',
word:'正在下载Word中,请稍后...',
copy: '拷贝文档',
toomany: '当前接口数量超出限制,请使用第三方markdown转换软件进行转换以查看效果.',
note: 'swagger-bootstrap-ui 提供markdwon格式类型的离线文档,开发者可拷贝该内容通过其他markdown转换工具进行转换为html或pdf.'
Expand Down

0 comments on commit d67fe59

Please sign in to comment.