質問編集履歴
3
JSコード修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -110,7 +110,7 @@
|
|
110
110
|
|
111
111
|
postForm.set('title', '上書きしたい値');
|
112
112
|
|
113
|
-
postForm.set('sound',sliceData)
|
113
|
+
postForm.set('sound',sliceData,'audio')
|
114
114
|
|
115
115
|
|
116
116
|
|
2
JSコード修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -100,9 +100,11 @@
|
|
100
100
|
|
101
101
|
|
102
102
|
|
103
|
-
submit.addEventListener('click', () => {
|
103
|
+
submit.addEventListener('click', (e) => {
|
104
104
|
|
105
|
+
e.prevantDefault();
|
106
|
+
|
105
|
-
|
107
|
+
postForm = new FormData(document.forms.upload_form);
|
106
108
|
|
107
109
|
const sliceData = new Blob([data.buffer], {type: "audio/wav"});
|
108
110
|
|
1
コードが反映されない
test
CHANGED
File without changes
|
test
CHANGED
@@ -21,8 +21,6 @@
|
|
21
21
|
</form>
|
22
22
|
|
23
23
|
```
|
24
|
-
|
25
|
-
|
26
24
|
|
27
25
|
```JS
|
28
26
|
|