From 5396717b66245bd0bb7148fb967c5e5d75eadd2b Mon Sep 17 00:00:00 2001 From: Sendya <18x@loacg.com> Date: Wed, 23 Mar 2016 22:44:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A0=A2=E8=90=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Template/Default/panel/member.htm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Template/Default/panel/member.htm b/Template/Default/panel/member.htm index dc1e3fbe..c1ba7e4c 100644 --- a/Template/Default/panel/member.htm +++ b/Template/Default/panel/member.htm @@ -183,17 +183,17 @@

使用教程>>

$.get("/Api/QueryCountry",{}, function(data){ var counrty = ""; // data.retData.province.country + " " + data.retData.province - if(data.retData.province.country != 'None'){ - counrty += data.retData.province.country; + if(data.retData.country != 'None'){ + counrty += data.retData.country; } - if(data.retData.province.province != 'None'){ - counrty += " " + data.retData.province.province; + if(data.retData.province != 'None'){ + counrty += " " + data.retData.province; } - if(data.retData.province.city != 'None'){ - counrty += " " + data.retData.province.city; + if(data.retData.city != 'None'){ + counrty += " " + data.retData.city; } - if(data.retData.province.carrier != '未知'){ - counrty += " ISP:" + data.retData.province.carrier; + if(data.retData.carrier != '未知'){ + counrty += " ISP:" + data.retData.carrier; } $("#country_id").html(counrty); },"json");