Explorar el Código

update 更新

linweizeng hace 2 años
padre
commit
361f5818a8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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) => {
             repostCurd('add', JSON.stringify(params)).then((res) => {
                 if (res.state == '200') {
                 if (res.state == '200') {
                     let dataItem = res.variables.cont[0]
                     let dataItem = res.variables.cont[0]
+                    this.id = dataItem.id_
                     this.$emit('addClick', dataItem.id_, dataItem)
                     this.$emit('addClick', dataItem.id_, dataItem)
                     this.$message({
                     this.$message({
                         showClose: true,
                         showClose: true,