소스 검색

集成页面文本分析权限

natasha 11 달 전
부모
커밋
5a26c8fc5f
2개의 변경된 파일6개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 2
      src/components/Adult/preview/ArticleViewChs/index.vue
  2. 3 2
      src/components/Adult/preview/DialogueArticleViewChs/index.vue

+ 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="" /> -->