Browse Source

集成页面文本分析权限

natasha 11 tháng trước cách đây
mục cha
commit
5a26c8fc5f

+ 3 - 2
src/components/Adult/preview/ArticleViewChs/index.vue

@@ -9,9 +9,10 @@
           @click="submit"
           :style="{ marginLeft: '104px' }"
           v-if="
-            tokenData &&
+            (tokenData &&
               tokenData.popedom_code_list &&
-              tokenData.popedom_code_list.indexOf(2100001) != -1
+              tokenData.popedom_code_list.indexOf(2100001) != -1) ||
+              (tokenData && tokenData.user_type === 'APP')
           "
         >
           <!-- <img src="../../../../assets/NPC/wbfx-icon.png" alt="" /> -->

+ 3 - 2
src/components/Adult/preview/DialogueArticleViewChs/index.vue

@@ -13,9 +13,10 @@
           @click="submit"
           :style="{ marginLeft: '104px' }"
           v-if="
-            tokenData &&
+            (tokenData &&
               tokenData.popedom_code_list &&
-              tokenData.popedom_code_list.indexOf(2100001) != -1
+              tokenData.popedom_code_list.indexOf(2100001) != -1) ||
+              (tokenData && tokenData.user_type === 'APP')
           "
         >
           <!-- <img src="../../../../assets/NPC/wbfx-icon.png" alt="" /> -->