Browse Source

校对分词改为可编辑状态

natasha 2 years ago
parent
commit
fd9bf7f8e9
1 changed files with 12 additions and 1 deletions
  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">