diff --git a/component/pear/module/menu.js b/component/pear/module/menu.js index b63c6b6797546870d81be8feb7f02aa912e68321..bde57b7a8548853c2b2d919b44dd679db4b64766 100644 --- a/component/pear/module/menu.js +++ b/component/pear/module/menu.js @@ -13,7 +13,7 @@ layui.define(['table', 'jquery', 'element'], function (exports) { var option = { elem: opt.elem, - async: opt.async || true, + async: typeof opt.async === 'undefined' ? true : opt.async, parseData: opt.parseData, url: opt.url, method: opt.method ? opt.method : "GET",