소스 검색

校对分词改为可编辑状态

natasha 2 년 전
부모
커밋
fd9bf7f8e9
1개의 변경된 파일12개의 추가작업 그리고 1개의 파일을 삭제
  1. 12 1
      src/components/Adult/common/SegwordConfig.vue

+ 12 - 1
src/components/Adult/common/SegwordConfig.vue

@@ -49,7 +49,18 @@
       </el-radio-group>
     </div>
     <el-table :data="data" border style="width: 75%">
-      <el-table-column prop="chs" label="词" width="120"> </el-table-column>
+      <el-table-column prop="chs" label="词" width="120"> 
+        <template slot-scope="scope">
+          <div class="adult-book-input-item">
+            <el-input
+              size="small"
+              v-model="scope.row.chs"
+              placeholder="请输入词"
+              @blur="onBlur(scope.row, 'chs')"
+            ></el-input>
+          </div>
+        </template>
+      </el-table-column>
       <el-table-column label="拼音" width="220">
         <template slot-scope="scope">
           <div class="adult-book-input-item">