From eea09d08ff5c8449df073b2b69b33a34d7bc5eb7 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Tue, 14 Mar 2023 18:57:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=97=E6=9D=90=E5=AD=97=E5=85=B8=E4=B8=AD?= =?UTF-8?q?=E5=AF=B9=E4=BA=A7=E5=93=81=E6=A0=87=E8=AF=86=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E7=BC=96=E8=BE=91=EF=BC=8C=E6=89=80=E6=98=BE=E7=A4=BA=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=BF=A1=E6=81=AF=E6=9C=89=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/product/productEdit.vue | 7 ++++--- vue.config.js | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) 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]: ''