Просмотр исходного кода

集成页面文本分析权限

natasha 11 месяцев назад
Родитель
Сommit
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="" /> -->