tsp-component
Version:
提供多端和react版本的UI组件
13 lines (10 loc) • 377 B
text/typescript
import WebApi from '../../lib/ajax/webapi';
import Exception from '../../lib/exception';
import test from './test';
WebApi.response = () => null;
Exception.webapi = new WebApi('http://192.168.1.104:7001', undefined);
Exception.apiname = '/api/product/exception/create';
Exception.productCode = 1;
const exception = new Exception();
// exception.listen();
test();