把 H5 用得 errorPage 通用组件写在小程序的项目中,
    业务组件会把 methods 中的一个函数作为 props 传给子组件,但是 this 会丢失,不能用

    1. fetch() {
    2. return this.test(); // this.test 在子组件中不能运行,因为 this 丢了
    3. },