Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
bafb1372
Commit
bafb1372
authored
Nov 24, 2021
by
若依
Committed by
Gitee
Nov 24, 2021
Browse files
!375 删除代码生成中冗余的导出方法
Merge pull request !375 from fuzui/delete_redundancy_gen_export_function
parents
4f194aa1
b4f032fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
ruoyi-generator/src/main/resources/vm/js/api.js.vm
View file @
bafb1372
...
...
@@ -42,12 +42,3 @@ export function del${BusinessName}(${pkColumn.javaField}) {
method: 'delete'
})
}
// 导出
${
functionName
}
export function export
${
BusinessName
}
(query)
{
return request(
{
url: '/
${
moduleName
}
/
${
businessName
}
/export',
method: 'get',
params: query
})
}
\ No newline at end of file
ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm
View file @
bafb1372
...
...
@@ -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
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment