miniapp-web-jsapi
Version:
JSAPI/View adapter for miniprogram running on the web
12 lines • 435 B
JavaScript
export function notSupportJsApi(options) {
var _options$fail, _options$complete;
var result = {
errCode: '1',
errMsg: 'not support'
};
if (!options) {
return result;
}
(_options$fail = options.fail) === null || _options$fail === void 0 ? void 0 : _options$fail.call(options, result);
(_options$complete = options.complete) === null || _options$complete === void 0 ? void 0 : _options$complete.call(options);
}