huangyan пре 4 месеци
родитељ
комит
8e01ac2faa
5 измењених фајлова са 5 додато и 5 уклоњено
  1. 1 1
      index.html
  2. 1 1
      src/view/contents/Detail.vue
  3. 1 1
      src/view/contents/add.vue
  4. 1 1
      src/view/product/Detail.vue
  5. 1 1
      src/view/product/add.vue

+ 1 - 1
index.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8" />
     <link rel="icon" type="image/svg+xml" href="/src/assets/img/favicon.ico" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>知否在线课堂</title>
+    <title>宝智达冷链官网后台管理系统</title>
   </head>
   <body>
     <div id="app"></div>

+ 1 - 1
src/view/contents/Detail.vue

@@ -63,7 +63,7 @@ function detailhttpRequests(option) {
 const updateContent = async () => {
    //详情图开始
    let detaildataForms = new FormData();
-  detaildataForms.append('types', "file")
+  detaildataForms.append('types', "serve")
   //将图片的二进制通过表单的形式发送到后台
   detailfileLists.value.forEach((it, index) => {
     detaildataForms.append('file', it.file)

+ 1 - 1
src/view/contents/add.vue

@@ -58,7 +58,7 @@ function detailhttpRequests(option) {
 const addContent = async () => {
   //详情图开始
   let detaildataForms = new FormData();
-  detaildataForms.append('types', "file")
+  detaildataForms.append('types', "serve")
   //将图片的二进制通过表单的形式发送到后台
   detailfileLists.value.forEach((it, index) => {
     detaildataForms.append('file', it.file)

+ 1 - 1
src/view/product/Detail.vue

@@ -121,7 +121,7 @@ const updateProduct = async () => {
 
     //详情图开始
     let detaildataForms = new FormData();
-    detaildataForms.append('types', "file")
+    detaildataForms.append('types', "serve")
     //将图片的二进制通过表单的形式发送到后台
     detailfileLists.value.forEach((it, index) => {
         detaildataForms.append('file', it.file)

+ 1 - 1
src/view/product/add.vue

@@ -146,7 +146,7 @@ const addProduct = async () => {
     })
     //详情图开始
     let detaildataForms = new FormData();
-    detaildataForms.append('types', "file")
+    detaildataForms.append('types', "serve")
     //将图片的二进制通过表单的形式发送到后台
     detailfileLists.value.forEach((it, index) => {
         detaildataForms.append('file', it.file)