提交 dd92c956 编写于 作者: A aeizzz

🐛 Fixing a bug. 查询时前端查询时参数类型接收错误

上级 7497760b
......@@ -71,7 +71,7 @@ public class GenDsConfController {
* @return R
*/
@GetMapping("/{id}")
public R<GenDatasourceConf> getById(@PathVariable("id") Integer id) {
public R<GenDatasourceConf> getById(@PathVariable("id") Long id) {
return R.ok(datasourceConfService.getById(id));
}
......
......@@ -58,6 +58,7 @@
init (id) {
this.visible = true;
this.canSubmit = true;
this.dataForm.${pk.lowerAttrName} = undefined
this.$nextTick(() => {
this.$refs['dataForm'].resetFields()
if (id) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册