From 0de041bca56dab64dd59ca1a1228ec8eba84c241 Mon Sep 17 00:00:00 2001 From: win10 Date: Mon, 13 Jul 2020 09:25:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BD=95=E5=85=A5=E6=88=90?= =?UTF-8?q?=E7=BB=A9=E4=BA=BA=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/chengji/view/index/read_add.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/chengji/view/index/read_add.html b/app/chengji/view/index/read_add.html index 2c71e4cf..40f43bed 100644 --- a/app/chengji/view/index/read_add.html +++ b/app/chengji/view/index/read_add.html @@ -47,7 +47,10 @@ var str=''; if(d.userName) { - str = d.userName.adSchool.jiancheng + ' ' + d.userName.xingming; + if(d.userName.adSchool) + { + str = d.userName.adSchool.jiancheng + ' ' + d.userName.xingming; + } } return str; }},