From 199de331395c385ff52aa5000e365e14e8d606d5 Mon Sep 17 00:00:00 2001 From: itgaojian163 Date: Thu, 15 May 2025 16:57:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E9=A1=B9=E7=9B=AE=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B8=AD=E6=96=B0=E5=BB=BA=E8=81=94=E7=B3=BB=E4=BA=BA?= =?UTF-8?q?=E9=82=AE=E7=AE=B1=E5=AD=97=E6=AE=B5=EF=BC=8C=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E5=8F=96=E6=B6=88=E5=BF=85=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/copyright/createProjectInfo/createProjectInfo.js | 2 +- pages/copyright/createProjectInfo/createProjectInfo.wxml | 2 +- utils/comm.wxs | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/copyright/createProjectInfo/createProjectInfo.js b/pages/copyright/createProjectInfo/createProjectInfo.js index b2afbcb..81f43f3 100644 --- a/pages/copyright/createProjectInfo/createProjectInfo.js +++ b/pages/copyright/createProjectInfo/createProjectInfo.js @@ -565,7 +565,7 @@ Page({ csaNo: _self.data.csaNo, name: _self.data.contactName, phone: _self.data.contactPhone, - email: _self.data.email + email: _self.data.contactEmail } wx.showLoading({ title: '创建中...', diff --git a/pages/copyright/createProjectInfo/createProjectInfo.wxml b/pages/copyright/createProjectInfo/createProjectInfo.wxml index ad6e2d5..70c816e 100644 --- a/pages/copyright/createProjectInfo/createProjectInfo.wxml +++ b/pages/copyright/createProjectInfo/createProjectInfo.wxml @@ -53,7 +53,7 @@ - 开发完成时间 + 开发完成时间 {{completeDate != ''? completeDate:'请选择开发完成时间'}} diff --git a/utils/comm.wxs b/utils/comm.wxs index bab8187..4ff2dc2 100644 --- a/utils/comm.wxs +++ b/utils/comm.wxs @@ -349,6 +349,9 @@ var repairKind = function (kind) { return str } var phoneNum = function (str, startLength, endLength, replaceStr) { + if (str == null || str == '') { + return '' + } if (str.length <= startLength + endLength) { return str; }