提交 6274c399 编写于 作者: Q qiang

fix lint

上级 71549bc8
...@@ -78,7 +78,7 @@ export function createRequestTaskById (requestTaskId, { ...@@ -78,7 +78,7 @@ export function createRequestTaskById (requestTaskId, {
sslVerify: !sslVerify sslVerify: !sslVerify
} }
if (method !== 'GET') { if (method !== 'GET') {
options.body = typeof data === "string" ? data : JSON.stringify(data) options.body = typeof data === 'string' ? data : JSON.stringify(data)
} }
try { try {
stream.fetch(options, ({ stream.fetch(options, ({
......
...@@ -38,7 +38,7 @@ export function showToast ({ ...@@ -38,7 +38,7 @@ export function showToast ({
} }
if (~['top', 'center', 'bottom'].indexOf(position)) { if (~['top', 'center', 'bottom'].indexOf(position)) {
plus.nativeUI.toast(title, { plus.nativeUI.toast(title, {
verticalAlign: position, verticalAlign: position
}) })
toast = true toast = true
toastTimeout = setTimeout(() => { toastTimeout = setTimeout(() => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册