4ac18314 by simon

默认提交

1 parent e3fcabea
...@@ -197,7 +197,7 @@ Page({ ...@@ -197,7 +197,7 @@ Page({
197 let count = _this.data.maxImg - _this.data.length; 197 let count = _this.data.maxImg - _this.data.length;
198 wx.chooseImage({ 198 wx.chooseImage({
199 sizeType: ['original', 'compressed'], 199 sizeType: ['original', 'compressed'],
200 sourceType: ['album'], 200 sourceType: ['album', 'camera'],
201 count: count, 201 count: count,
202 success(res) { 202 success(res) {
203 // tempFilePath可以作为img标签的src属性显示图片 203 // tempFilePath可以作为img标签的src属性显示图片
......
...@@ -47,7 +47,9 @@ Page({ ...@@ -47,7 +47,9 @@ Page({
47 this.queryMember().then((result) => { 47 this.queryMember().then((result) => {
48 let auditStatus = this.data.userInfo && this.data.userInfo.auditStatus || ""; 48 let auditStatus = this.data.userInfo && this.data.userInfo.auditStatus || "";
49 // console.log("viplogin - auditStatus:", auditStatus); 49 // console.log("viplogin - auditStatus:", auditStatus);
50 if (auditStatus == "authorization" || auditStatus == "unauthorized") { 50 let isModify = this.data.isModify;
51 // console.log("isModify:", isModify)
52 if ((auditStatus == "authorization" || auditStatus == "unauthorized") && !isModify) {
51 // 未验证和待验证 53 // 未验证和待验证
52 app.router.push({ 54 app.router.push({
53 openType: "redirect", 55 openType: "redirect",
...@@ -288,7 +290,7 @@ Page({ ...@@ -288,7 +290,7 @@ Page({
288 let count = _this.data.maxImg - _this.data.length; 290 let count = _this.data.maxImg - _this.data.length;
289 wx.chooseImage({ 291 wx.chooseImage({
290 sizeType: ['original', 'compressed'], 292 sizeType: ['original', 'compressed'],
291 sourceType: ['album'], 293 sourceType: ['album', 'camera'],
292 count: 1, 294 count: 1,
293 success(res) { 295 success(res) {
294 // tempFilePath可以作为img标签的src属性显示图片 296 // tempFilePath可以作为img标签的src属性显示图片
......