mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 13:03:42 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
e7324a10ae
@ -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