h5/pages/notice/notice.vue
@@ -16,6 +16,7 @@ <script> let timer import { getSystemDictData } from "@/api" import { getCode } from "@/utils/getCode.js"; export default { name: 'Index', data() { @@ -27,9 +28,12 @@ }, onLoad() { this.getInfo() if (!this.$store.state.openId) { // this.initToken() } getCode(code => { console.log('code', code) }); // if (!this.$store.state.openId) { // this.initToken() // } }, methods: { initToken() {