浏览代码

fix: 添加标签文案修改

cuiyalong 4 年之前
父节点
当前提交
eb39d96e60

+ 2 - 1
src/web/staticres/frontRouter/pc/collection/js/index-pc.js

@@ -240,7 +240,8 @@ var vm = new Vue({
                         this.initSelectTagList()
                         this.resetListState()
                     } else {
-                        this.showToast(res.error_msg)
+                        // this.showToast(res.error_msg)
+                        this.showToast('标签已经存在,无需添加')
                     }
                 }.bind(this)
             })

+ 2 - 1
src/web/staticres/js/pc_detail_tags.js

@@ -295,7 +295,8 @@ function addTagsAjax (name) {
         }
         getUserTags()
       } else {
-        toastFn(r.error_msg, 1000)
+        // toastFn(r.error_msg, 1000)
+        toastFn('标签已经存在,无需添加', 1000)
       }
     }
   })

+ 1 - 1
src/web/templates/pc/entsearchindex.html

@@ -105,7 +105,7 @@
                                 trigger="hover">
                                 <div class="popover-content" v-if="entUseInfo.used < entUseInfo.total" key="popover-content">
                                     <p>超级订阅用户,每购买一个省,每月可看50个画像。</p>
-                                    <p>您当前订阅了${getVipSubText},如需查看更多,请前往订阅更多省份。<span class="popover-link" @click="openVipPage('popover-link')">前往</span></p>
+                                    <p v-show="false">您当前订阅了${getVipSubText},如需查看更多,请前往订阅更多省份。<span class="popover-link" @click="openVipPage('popover-link')">前往</span></p>
                                 </div>
                                 <div class="popover-content" v-else key="popover-content">
                                     <p>超级订阅用户,每购买一个省,每月可看50个画像。</p>

+ 2 - 1
src/web/templates/pc/supsearch.html

@@ -1686,7 +1686,8 @@ function addTagsAjax (name) {
         }
         getUserTags()
       } else {
-        toastFn(r.error_msg, 1000)
+        // toastFn(r.error_msg, 1000)
+        toastFn('标签已经存在,无需添加', 1000)
       }
     }
   })