weirenchun 1 year ago
parent
commit
1067bbff4a
2 changed files with 2 additions and 1 deletions
  1. 2 1
      src/pages/home/detail.vue
  2. BIN
      src/static/image/bad_image_long.png

+ 2 - 1
src/pages/home/detail.vue

@@ -26,7 +26,7 @@ export default {
   name: "detail.vue",
   data() {
     return {
-      image: "",
+      image: "/static/image/bad_image_long.png",
       status: false,
     };
   },
@@ -46,6 +46,7 @@ export default {
         console.log("上传后返回的信息:" + res.data);
       },
       fail(err) {
+        console.log("返回错误信息:" + err);
         uni.showToast({
           title: "上传失败",
           icon: "none",

BIN
src/static/image/bad_image_long.png