mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 05:00:23 +08:00
🐛 Fixing a bug. 查询时前端查询时参数类型接收错误
This commit is contained in:
parent
7497760b2c
commit
dd92c956f3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user