express.vue 468 B

12345678910111213141516171819202122232425
  1. <template>
  2. <view>
  3. <lee-logistics ref="lee" :expresssn="expresssn" />
  4. </view>
  5. </template>
  6. <script>
  7. import LeeLogistics from '@/components/lee-logistics/lee-logistics.vue'
  8. export default {
  9. components: { LeeLogistics },
  10. data() {
  11. return {
  12. expresssn : "",
  13. }
  14. },
  15. async onLoad(options) {
  16. this.expresssn = options.expresssn;
  17. var ref = await this.$refs;
  18. ref.lee.search(options.express, options.expresssn);
  19. }
  20. }
  21. </script>
  22. <style>
  23. </style>