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
b4f032fa
Commit
b4f032fa
authored
Nov 24, 2021
by
fuzui
Browse files
删除代码生成中冗余的导出方法
parent
4f194aa1
Changes
2
Hide whitespace changes
Inline
Side-by-side
ruoyi-generator/src/main/resources/vm/js/api.js.vm
View file @
b4f032fa
...
@@ -42,12 +42,3 @@ export function del${BusinessName}(${pkColumn.javaField}) {
...
@@ -42,12 +42,3 @@ export function del${BusinessName}(${pkColumn.javaField}) {
method: 'delete'
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 @
b4f032fa
...
@@ -259,7 +259,7 @@
...
@@ -259,7 +259,7 @@
</template>
</template>
<script>
<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
Treeselect
from
"
@riophae/vue-treeselect
"
;
import
"
@riophae/vue-treeselect/dist/vue-treeselect.css
"
;
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