Fix(client): iをパラメーターに含めてもデフォルトのiが付与されるのを修正 (#8039)
This commit is contained in:
parent
e804a299e0
commit
7eedb9b19b
|
@ -67,7 +67,7 @@ export default defineComponent({
|
||||||
send() {
|
send() {
|
||||||
this.sending = true;
|
this.sending = true;
|
||||||
const body = JSON5.parse(this.body);
|
const body = JSON5.parse(this.body);
|
||||||
os.api(this.endpoint, body, body.i || this.withCredential ? undefined : null).then(res => {
|
os.api(this.endpoint, body, body.i || (this.withCredential ? undefined : null)).then(res => {
|
||||||
this.sending = false;
|
this.sending = false;
|
||||||
this.res = JSON5.stringify(res, null, 2);
|
this.res = JSON5.stringify(res, null, 2);
|
||||||
}, err => {
|
}, err => {
|
||||||
|
|
Loading…
Reference in New Issue