Browse Source

feat: ai命题返回按钮调整

zhangjie 1 tháng trước cách đây
mục cha
commit
c9673b2cc6

+ 5 - 1
src/modules/question/components/ai-question/AiQuestionCreateDialog.vue

@@ -6,16 +6,20 @@
     :close-on-click-modal="false"
     :close-on-press-escape="false"
     append-to-body
+    :show-close="false"
     @opened="handleOpened"
     @close="handleClose"
   >
-    <div slot="title" class="dialog-title-container">
+    <div slot="title" class="dialog-title-container box-justify">
       <div class="title-left">
         <span class="title-text">创建试题 - AI 命题</span>
         <span v-if="courseInfo.name && courseInfo.code" class="course-info">
           {{ courseInfo.name }} ({{ courseInfo.code }})
         </span>
       </div>
+      <div>
+        <el-button icon="el-icon-back" @click="close">返回</el-button>
+      </div>
     </div>
 
     <div class="dialog-content-container">