Browse Source

build: 构建

ChenYangfan 6 years ago
parent
commit
9b4727f8e7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      package.json
  2. 1 1
      src/views/quiz/components/QuestionCard.vue

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "seec-helper-frontend",
-  "version": "0.1.0",
+  "version": "2.1.0",
   "private": true,
   "scripts": {
     "serve": "vue-cli-service serve",

+ 1 - 1
src/views/quiz/components/QuestionCard.vue

@@ -6,7 +6,7 @@
                      @click="$emit('toggle-select', questionId)" :no-bold="selected">
           {{selected ? 'check_box' : 'check_box_outline_blank'}}
         </icon-button>
-        <span class="question-id">编号:{{ questionId }}</span>
+        <span class="question-id">编号:{{ questionId.length > 8 ? questionId.substr(0, 8) + '...' : questionId }}</span>
         <c-tag theme="green">{{ QuestionKind.naming[type] }}</c-tag>
       </h3>
       <div class="spacer"></div>