日照项目的居民端小程序
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.
 
 
 

46 lines
755 B

import { wxRequestPost, wxGetSetting } from "@utils/promise-wx-api";
import { doAfterLogin } from "@utils/tools";
import promiseWxApi from "@utils/promise-wx-api";
const app = getApp()
Component({
// behaviors: [ computedBehavior, commonBehavior],
properties: {},
data: {
groupId:"",
iniLoaded: false,
},
lifetimes: {
attached: async function () {
},
detached: function () {
},
},
//computed: {},
//watch: {},
methods: {
onLoad(options) {
console.log(options.gid)
let groupId = options.gid
this.setData({
groupId
})
this.init()
},
async init(){
await doAfterLogin();
},
},
});