
![]()

![]()

![]()
这一步完成之后你将得到一个地址

![]()
关键代码如下:
- submitForm() {
- this.fullscreenLoading = true;
- this.$axios({
- method: "post",
- url: "https://xxxxxxxx",
- headers: {
- "Content-Type": "text/html; charset=utf-8",
- },
- data: {
- email: 'email',
- name: 'name',
- message: 'message'
- },
- })
- .then((res) => {
- if (res.data.ok) {
- this.fullscreenLoading = false;
- this.$message.success("发送成功!");
- }
- })
- .catch((e) => {
- this.fullscreenLoading = false;
- throw e;
- });
- },