Baozhangchao hace 3 años
padre
commit
0fae755418
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 2
    2
      config/proxy.js
  2. 2
    2
      src/pages/carouselFigure/editAdvertising.jsx

+ 2
- 2
config/proxy.js Ver fichero

@@ -8,8 +8,8 @@
8 8
 export default {
9 9
   dev: {
10 10
     '/api/': {
11
-      target: 'https://xlk.njyz.tech/',
12
-      // target: 'http://localhost:8081/',
11
+      // target: 'https://xlk.njyz.tech/',
12
+      target: 'http://192.168.89.147:8081',
13 13
       // target: 'https://www.newhousehold.cn',
14 14
       changeOrigin: true,
15 15
       pathRewrite: {

+ 2
- 2
src/pages/carouselFigure/editAdvertising.jsx Ver fichero

@@ -388,7 +388,7 @@ const createEditor = () => {
388 388
       if (!isHaveActive && !val.targetId) {
389 389
         val.contentType = '';
390 390
       }
391
-      val.showPosition='index'
391
+      val.showPosition = 'index'
392 392
       if (contentId) {
393 393
         request({
394 394
           ...apis.carsuseFigure.updataExtendContent,
@@ -402,7 +402,7 @@ const createEditor = () => {
402 402
             message.info(err.msg || err.message);
403 403
           });
404 404
       } else {
405
-        val.status=0
405
+        val.status = 0
406 406
         request({ ...apis.carsuseFigure.addExtendContent, data: val })
407 407
           .then(data => {
408 408
             cancelPage();