소스 검색

vip订阅 排除词和附加词缺陷修改

wangshan 5 년 전
부모
커밋
fb7be30083
2개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/jfw/modules/app/src/web/templates/vipsubscribe/keyWord.html
  2. 5 0
      src/web/templates/weixin/vipsubscribe/keyWord.html

+ 5 - 0
src/jfw/modules/app/src/web/templates/vipsubscribe/keyWord.html

@@ -1046,6 +1046,11 @@
     //
     //
     $(function () {
     $(function () {
         $(".addNewKeyword div").on('click', function () {
         $(".addNewKeyword div").on('click', function () {
+            //把kws_name,kws_index,addition_kws,not_kws初始化
+            kws_index = 0;
+            kws_name = "";
+            addition_kws = [];
+            not_kws = [];
             history.pushState({id: 1}, "", "");
             history.pushState({id: 1}, "", "");
             classify_index = $(".classify-list li").length;
             classify_index = $(".classify-list li").length;
             var noNameIndex = -1;
             var noNameIndex = -1;

+ 5 - 0
src/web/templates/weixin/vipsubscribe/keyWord.html

@@ -833,6 +833,11 @@
     //
     //
     $(function () {
     $(function () {
         $(".addNewKeyword div").on('click', function () {
         $(".addNewKeyword div").on('click', function () {
+            //把kws_name,kws_index,addition_kws,not_kws初始化
+            kws_index = 0;
+            kws_name = "";
+            addition_kws = [];
+            not_kws = [];
             history.pushState({id: 1}, "", "");
             history.pushState({id: 1}, "", "");
             classify_index = $(".classify-list li").length;
             classify_index = $(".classify-list li").length;
             var noNameIndex = -1;
             var noNameIndex = -1;