Explorar o código

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

wangyang %!s(int64=5) %!d(string=hai) anos
pai
achega
7d2fec9e5f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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">