diff --git a/src/views/basic/product/productEdit.vue b/src/views/basic/product/productEdit.vue index 2862417e..37fe0b3e 100644 --- a/src/views/basic/product/productEdit.vue +++ b/src/views/basic/product/productEdit.vue @@ -50,7 +50,7 @@ @@ -534,8 +534,9 @@ export default { cancelDialog() { this.editSingleDiDialogVisible = false; }, - singleDiEdit() { - let temp = JSON.parse(JSON.stringify(this.editQuery)); + singleDiEdit(val) { + debugger + let temp = val; this.editSingleFormat.uuid = temp.uuid; this.editSingleFormat.id = temp.id; this.editSingleFormat.sptm = temp.sptm; diff --git a/vue.config.js b/vue.config.js index c7371cbe..952e764e 100644 --- a/vue.config.js +++ b/vue.config.js @@ -35,7 +35,7 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://127.0.0.1:9991`, + target: `http://192.168.0.166:9991`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''