|
@@ -54,6 +54,18 @@
|
|
|
:isShowTitle="true"
|
|
|
/>
|
|
|
</template>
|
|
|
+ <template v-if="category == 'NNPE'">
|
|
|
+ <Booknnpe
|
|
|
+ v-if="chapterId && context"
|
|
|
+ ref="previewAnswer"
|
|
|
+ :context="context"
|
|
|
+ :currentTreeID="chapterId"
|
|
|
+ :FatherTreeData="FatherTreeData"
|
|
|
+ :change-id="changeId"
|
|
|
+ :themeColor="themeColor"
|
|
|
+ :isShowTitle="true"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- <Preview :context="context" :queIndex="queIndex" /> -->
|
|
@@ -144,6 +156,8 @@ export default {
|
|
|
};
|
|
|
} else if (this.category == "NPC") {
|
|
|
_this.context = JSON.parse(res.content);
|
|
|
+ } else if (this.category == "NNPE") {
|
|
|
+ _this.context = JSON.parse(res.content);
|
|
|
}
|
|
|
} else {
|
|
|
const _this = this;
|