protocol.js 271 B

1234567891011121314151617
  1. import { protocolEnum } from '/utils/common/protocol'
  2. Page({
  3. data: {
  4. protocolEnum: protocolEnum,
  5. type: null
  6. },
  7. onLoad(options) {
  8. const type = options ? options.type : null
  9. if(!type) {
  10. return
  11. }
  12. this.setData({
  13. type
  14. })
  15. }
  16. });