Commit 77b0a743 by 姜雷

添加无错误msg的时候的默认提示

parent 123868be
......@@ -45,7 +45,7 @@ const createFetch = (basePath: string) => {
throw data;
}
Taro.showToast({
title: data.msg,
title: data.msg || '网络错误',
icon: 'none',
});
throw data;
......
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