TypeError: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body. |
把对应的方法由getmapping改为postmapping即可
TypeError: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body. |
把对应的方法由getmapping改为postmapping即可