hookehuyr

fix 后台报错显示优化

/*
* @Date: 2022-05-18 22:56:08
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-08-12 11:52:47
* @LastEditTime: 2024-08-12 17:35:51
* @FilePath: /data-table/src/api/fn.js
* @Description: 文件描述
*/
......@@ -21,7 +21,7 @@ export const fn = (api) => {
return res.data || true;
} else {
// tslint:disable-next-line: no-console
if (!res.data.show) return false;
if (res.data.show === false) return false;
showFailToast({
message: res.data.msg,
duration: 5000,
......