From f6ab4d764a735e46f73156d2ff231943c0ebdf3f Mon Sep 17 00:00:00 2001
From: xpz2018 <107107461@qq.com>
Date: Tue, 27 Jul 2021 09:29:52 +0800
Subject: [PATCH] no message
---
pages/home/customer-info/index.js | 2 +-
pages/home/customer-list/index.wxml | 5 ++++-
pages/login/index.js | 6 ------
3 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/pages/home/customer-info/index.js b/pages/home/customer-info/index.js
index 8d98744..53862fc 100644
--- a/pages/home/customer-info/index.js
+++ b/pages/home/customer-info/index.js
@@ -122,7 +122,7 @@ Scene({
saveCustomer(this.data.form).then(result => {
wx.hideLoading()
util.showBackToast('添加成功')
- event.emit('EventMessage', { what: 102, detail: this.data.form })
+ event.emit('EventMessage', { what: 101, detail: this.data.form })
}).catch(err => {
wx.hideLoading()
util.showToast(err)
diff --git a/pages/home/customer-list/index.wxml b/pages/home/customer-list/index.wxml
index 0596658..8b3109a 100644
--- a/pages/home/customer-list/index.wxml
+++ b/pages/home/customer-list/index.wxml
@@ -20,7 +20,10 @@
{{item.name || ''}}
- {{item.mobile || ('卡号:' + item.cardNo)}}
+
+ {{'电话号码:' + item.mobile}}
+ {{'卡号:' + item.cardNo}}
+
注册纸通宝
diff --git a/pages/login/index.js b/pages/login/index.js
index f8eb204..63afd12 100644
--- a/pages/login/index.js
+++ b/pages/login/index.js
@@ -31,12 +31,6 @@ Page({
},
/************************************** 初始化登录流程 ********************************************/
onLoad: function (options) {
- const updateManager = wx.getUpdateManager()
- updateManager.onCheckForUpdate()
- updateManager.onUpdateReady(function () {
- // 新的版本已经下载好,调用 applyUpdate 应用新版本并重启
- updateManager.applyUpdate()
- })
app.globalData.keyboardHeight = storage.get('keyboardHeight') || 0
if(options.q){
//扫二维码进入的,