瀏覽代碼

校对分词改为可编辑状态

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">