qymljy 8 месяцев назад
Родитель
Сommit
5f7e4678d6
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      public/codeToFile.html

+ 4 - 1
public/codeToFile.html

@@ -77,7 +77,10 @@
                         this.url = str.slice(0, index) + '/yosweb/codeToFile.html'
                     }
                 }
-                axios.post(str.slice(0, index) + '/yos/rest/index', param)
+                console.log(str.slice(0, index))
+                var urlNew = str.slice(0, index) + '/yos/rest/index'
+                console.log(urlNew)
+                axios.post(urlNew, param)
                 .then(function (response) {
                     console.log(response)
                     console.log(response.data.data.length)