app.ts 161 Bytes
Newer Older
1 2
export const dva = {
  config: {
何乐's avatar
何乐 committed
3
    onError(err: ErrorEvent) {
4 5 6 7 8 9
      err.preventDefault();
    },
  },
};

export function render(oldRender) {
10
  oldRender();
11
}