From cafe663a42bd4803879a6e021e6cce5dad191dbf Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期三, 24 十一月 2021 14:12:15 +0800 Subject: [PATCH] 删除代码生成中冗余的导出方法 --- src/main/resources/vm/js/api.js.vm | 9 --------- src/main/resources/vm/vue/index-tree.vue.vm | 2 +- 2 files changed, 1 insertions(+), 10 deletions(-) diff --git a/src/main/resources/vm/js/api.js.vm b/src/main/resources/vm/js/api.js.vm index cd2403c..d78cd2f 100644 --- a/src/main/resources/vm/js/api.js.vm +++ b/src/main/resources/vm/js/api.js.vm @@ -42,12 +42,3 @@ method: 'delete' }) } - -// 瀵煎嚭${functionName} -export function export${BusinessName}(query) { - return request({ - url: '/${moduleName}/${businessName}/export', - method: 'get', - params: query - }) -} \ No newline at end of file diff --git a/src/main/resources/vm/vue/index-tree.vue.vm b/src/main/resources/vm/vue/index-tree.vue.vm index 19802ce..a1c9ecf 100644 --- a/src/main/resources/vm/vue/index-tree.vue.vm +++ b/src/main/resources/vm/vue/index-tree.vue.vm @@ -259,7 +259,7 @@ </template> <script> -import { list${BusinessName}, get${BusinessName}, del${BusinessName}, add${BusinessName}, update${BusinessName}, export${BusinessName} } from "@/api/${moduleName}/${businessName}"; +import { list${BusinessName}, get${BusinessName}, del${BusinessName}, add${BusinessName}, update${BusinessName} } from "@/api/${moduleName}/${businessName}"; import Treeselect from "@riophae/vue-treeselect"; import "@riophae/vue-treeselect/dist/vue-treeselect.css"; -- Gitblit v1.9.3