瀏覽代碼

update 更新

linweizeng 3 年之前
父節點
當前提交
361f5818a8
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/views/onLineEditing/index.vue

+ 1 - 0
src/views/onLineEditing/index.vue

@@ -249,6 +249,7 @@ export default {
             repostCurd('add', JSON.stringify(params)).then((res) => {
                 if (res.state == '200') {
                     let dataItem = res.variables.cont[0]
+                    this.id = dataItem.id_
                     this.$emit('addClick', dataItem.id_, dataItem)
                     this.$message({
                         showClose: true,