Selaa lähdekoodia

食物录营养素双击行内编辑

wangyang 5 vuotta sitten
vanhempi
commit
7d2fec9e5f
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/views/food/nutrient.vue

+ 1 - 0
src/views/food/nutrient.vue

@@ -90,6 +90,7 @@
       fit
       highlight-current-row
       style="width: 100%;margin-top: 10px"
+      @cell-dblclick="handleEdit"
     >
       <el-table-column type="index" label="序号" align="center" width="60px" />
       <el-table-column label="营养素名称" align="center">