IComponentServer.ts 425 B

1234567891011121314151617181920
  1. /* eslint-disable @typescript-eslint/no-empty-function */
  2. /**
  3. * class IComponentServer
  4. *
  5. * IComponentServer 组件 server 基类
  6. */
  7. export default class IComponentServer {
  8. /**
  9. * 组件销毁
  10. */
  11. public destroyed() {}
  12. /**
  13. * 数据监听回调
  14. *
  15. * @param {any} oldValue 旧数据
  16. * @param {any} newValue 新数据
  17. */
  18. protected updateStore(oldValue:any, newValue:any) {}
  19. }