zhangjie пре 10 месеци
родитељ
комит
d73aabca4b
2 измењених фајлова са 1 додато и 10 уклоњено
  1. 0 10
      src/components/ImageContain.vue
  2. 1 0
      src/modules/client/components/ScanResultTable.vue

+ 0 - 10
src/components/ImageContain.vue

@@ -27,7 +27,6 @@
       <img
         :key="image.url"
         :src="image.url"
-        :alt="imageName"
         ref="PreviewImgDetail"
         @load="resizeImage"
       />
@@ -115,15 +114,6 @@ export default {
   //     }
   //   }
   // },
-  computed: {
-    imageName() {
-      if (this.image.filename) return this.image.filename;
-
-      const st1 = this.image.url.split("?")[0] || "";
-      const st2 = st1.split("/").slice(-1) || "";
-      return st2;
-    },
-  },
   mounted() {
     this.registWheelHandle();
   },

+ 1 - 0
src/modules/client/components/ScanResultTable.vue

@@ -154,6 +154,7 @@ export default {
         row.papers.forEach((p) => (p.select = false));
       });
       this.selectList = [];
+      this.$emit("select-change", this.selectList);
     },
     async toDeleteUser(row) {
       const res = await this.$confirm(