Browse Source

xielianghe

lange 5 years ago
parent
commit
452a9af5c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      whepi-ui/templates/home/ribao.js

+ 1 - 1
whepi-ui/templates/home/ribao.js

@@ -1219,7 +1219,6 @@ function ribaoCommit() {
     success: function (data) {
       if (data.msgReport == "2") {
         $.toast("家人姓名不能重复,如果重复,可以带上称呼");
-        cantijiao = false
         return;
       }
       if ($('#ribao')[0].style.display == 'none') {
@@ -1229,6 +1228,7 @@ function ribaoCommit() {
         $('#notOpenRibao')[0].style.display = '';
         $('#ribao')[0].style.display = 'none';
       }
+      cantijiao = true
       $('#ribao_jinrijujian').empty();
       $('#ribao_jinrijujian').append(data.safetyNum);
       ribao_refrash();