微信小程序 提审时隐藏功能;微信小程序添加微信快捷登录、随便看看(登的user用户)
This commit is contained in:
@@ -4,6 +4,7 @@ import utils from '../../utils/util'
|
||||
// import drawQrcode from '../../utils/qrcode/index'
|
||||
import drawQrcode from '../../utils/lib/weapp.qrcode.esm.js'
|
||||
import scanQRCode from '../../utils/scanQRCode'
|
||||
const toggleCustomTabBar = require('../../custom-tab-bar/toggleCustomTabBar')
|
||||
|
||||
const app = getApp();
|
||||
|
||||
@@ -25,7 +26,7 @@ Page({
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
|
||||
toggleCustomTabBar.toggle(this)
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -39,6 +40,7 @@ Page({
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
toggleCustomTabBar.toggle(this)
|
||||
console.log('onShow')
|
||||
// setTimeout(this.refershData, 100)
|
||||
this.refershData()
|
||||
|
@@ -1,6 +1,8 @@
|
||||
// pages/residents/report.js
|
||||
import utils from '../../utils/util'
|
||||
|
||||
const toggleCustomTabBar = require('../../custom-tab-bar/toggleCustomTabBar')
|
||||
|
||||
const app = getApp();
|
||||
|
||||
Page({
|
||||
@@ -32,6 +34,7 @@ Page({
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
toggleCustomTabBar.toggle(this)
|
||||
console.log("residents/report onLoad")
|
||||
},
|
||||
|
||||
@@ -46,6 +49,7 @@ Page({
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
toggleCustomTabBar.toggle(this)
|
||||
console.log("residents/report onShow")
|
||||
if (this.data.isSkipOnShowFunc) {
|
||||
this.setData({
|
||||
|
Reference in New Issue
Block a user