close.vue 661 B

1234567891011121314151617181920212223242526272829303132333435
  1. <template>
  2. </template>
  3. <script>
  4. import {
  5. requestConfig
  6. } from "@/app.config.js";
  7. export default {
  8. data() {
  9. return {
  10. radiovalue: 0,
  11. shopId: "",
  12. uid: "",
  13. userInfo: {}
  14. };
  15. },
  16. onLoad(options) {
  17. this.shopId = options.shopId;
  18. this.uid = options.uid || '';
  19. let alipayuserinfo = localStorage.getItem("aliPayUserInfo")
  20. let wechatuserinfo = localStorage.getItem("weChatUserInfo")
  21. if (wechatuserinfo) {
  22. alert('微信缓存')
  23. localStorage.removeItem('weChatUserInfo');
  24. }
  25. if (alipayuserinfo) {
  26. alert('支付宝缓存')
  27. localStorage.removeItem('aliPayUserInfo');
  28. }
  29. },
  30. methods: {
  31. },
  32. };
  33. </script>