You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

list.vue 439 B

4 years ago
1234567891011121314151617181920212223242526272829
  1. <template>
  2. <stuqr-code :stuNo="stuNo"></stuqr-code>
  3. </template>
  4. <script>
  5. import stuqrCode from "./components/content.vue"
  6. export default{
  7. components: {stuqrCode},
  8. data() {
  9. return {
  10. stuNo: ''
  11. }
  12. },
  13. methods:{
  14. init() {
  15. // console.log(this)
  16. let _this = this;
  17. this.stuNo = _this.GET_GLOBAL('loginUser').account; //获取登录信息
  18. }
  19. },
  20. created() {
  21. this.init()
  22. }
  23. }
  24. </script>
  25. <style lang="less" scoped>
  26. </style>