|
@@ -24,7 +24,7 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import { cardConfigInfos, cardDetail, saveCard } from "../api";
|
|
import { cardConfigInfos, cardDetail, saveCard } from "../api";
|
|
-import CardDesign from "../../../../card/components/CardDesign";
|
|
|
|
|
|
+import CardDesign from "../../../../card/components/CardDesign.vue";
|
|
import CardFreeDesign from "../../../../card/modules/free/components/CardFreeDesign";
|
|
import CardFreeDesign from "../../../../card/modules/free/components/CardFreeDesign";
|
|
import CardPreviewDialog from "../components/CardPreviewDialog.vue";
|
|
import CardPreviewDialog from "../components/CardPreviewDialog.vue";
|
|
import { examRuleDetail } from "../../base/api";
|
|
import { examRuleDetail } from "../../base/api";
|
|
@@ -126,7 +126,6 @@ export default {
|
|
const detData = await cardDetail(this.cardId);
|
|
const detData = await cardDetail(this.cardId);
|
|
// 可能存在题卡内容没有记录的情况
|
|
// 可能存在题卡内容没有记录的情况
|
|
if (detData.content || detData.stageContent) {
|
|
if (detData.content || detData.stageContent) {
|
|
- // TODO:
|
|
|
|
const content = detData.stageContent || detData.content;
|
|
const content = detData.stageContent || detData.content;
|
|
this.cardContent = JSON.parse(content);
|
|
this.cardContent = JSON.parse(content);
|
|
this.cardName = detData.title;
|
|
this.cardName = detData.title;
|