Commit 77b0a743 by 姜雷

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

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