Commit ec7e8be8 authored by haiyoucuv's avatar haiyoucuv

GuideLayer

parent acf302a8
...@@ -162,7 +162,6 @@ export function sendWebNet( ...@@ -162,7 +162,6 @@ export function sendWebNet(
res.success = res.success || res.ok; res.success = res.success || res.ok;
if (!success) { if (!success) {
if (!hideMsg) { if (!hideMsg) {
showToast(ERR_MESSAGE[res.code] || res.message || "网络异常,请稍后再试~"); showToast(ERR_MESSAGE[res.code] || res.message || "网络异常,请稍后再试~");
...@@ -202,7 +201,8 @@ export function sendWebNet( ...@@ -202,7 +201,8 @@ export function sendWebNet(
// if (netName.indexOf('/') <= -1) path = `projectX/${netName}`; // if (netName.indexOf('/') <= -1) path = `projectX/${netName}`;
// else path = netName // else path = netName
// const url = "mock/" + path + ".json"; // const url = "mock/" + path + ".json";
url = netName + ".json"; isGet = true;
url = "mock/" + netName + ".json";
} }
//网络请求 //网络请求
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment