UNPKG

tida

Version:

tida

2 lines (1 loc) 658 B
module.exports=webpackJsonp([7],{2:function(e,n){e.exports=require("@weex-module/windvane")},27:function(e,n,o){"use strict";var t=o(6),i=function(e){return e&&e.__esModule?e:{default:e}}(t);e.exports=i.default},6:function(e,n,o){"use strict";var t=o(0),i=(function(e){e&&e.__esModule}(t),o(1));e.exports={request:function(e,n,t){if(e=Object.assign({v:"1.0",needLogin:!1,type:"GET",dataType:"json",secType:0,timeout:8e3},e),i.isWeex){o(7).request(e,n,t)}else if(i.isWeb){var u=window.lib&&window.lib.mtop&&window.lib.mtop.request;if(!u)throw new Error("请先引入 lib.mtop 库");u(e,n,t)}}}},7:function(e,n){e.exports=require("@weex-module/mtop")}},[27]);