test #26
@@ -75,12 +75,20 @@
 | 
				
			|||||||
                  <td>{{ item.email }}</td>
 | 
					                  <td>{{ item.email }}</td>
 | 
				
			||||||
                  <td>{{ item.nickname }}</td>
 | 
					                  <td>{{ item.nickname }}</td>
 | 
				
			||||||
                  <td align="center">
 | 
					                  <td align="center">
 | 
				
			||||||
 | 
					                    <div>
 | 
				
			||||||
                      <v-img
 | 
					                      <v-img
 | 
				
			||||||
                        max-width="100"
 | 
					                        max-width="100"
 | 
				
			||||||
                        max-height="100"
 | 
					                        max-height="100"
 | 
				
			||||||
                        :src="item.profileUrl"
 | 
					                        :src="item.profileUrl"
 | 
				
			||||||
                        class="rounded-circle"
 | 
					                        class="rounded-circle"
 | 
				
			||||||
                      />
 | 
					                      />
 | 
				
			||||||
 | 
					                      <button
 | 
				
			||||||
 | 
					                        class="download-button"
 | 
				
			||||||
 | 
					                        @click="downloadImage(item.profileUrl)"
 | 
				
			||||||
 | 
					                      >
 | 
				
			||||||
 | 
					                        다운로드
 | 
				
			||||||
 | 
					                      </button>
 | 
				
			||||||
 | 
					                    </div>
 | 
				
			||||||
                  </td>
 | 
					                  </td>
 | 
				
			||||||
                  <td>{{ item.userType }}</td>
 | 
					                  <td>{{ item.userType }}</td>
 | 
				
			||||||
                  <td>
 | 
					                  <td>
 | 
				
			||||||
@@ -357,11 +365,26 @@ export default {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      this.is_loading = false
 | 
					      this.is_loading = false
 | 
				
			||||||
      this.cancel()
 | 
					      this.cancel()
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    async downloadImage(imageUrl) {
 | 
				
			||||||
 | 
					      const link = document.createElement('a')
 | 
				
			||||||
 | 
					      link.href = imageUrl
 | 
				
			||||||
 | 
					      link.download = "image"
 | 
				
			||||||
 | 
					      document.body.appendChild(link)
 | 
				
			||||||
 | 
					      link.click()
 | 
				
			||||||
 | 
					      document.body.removeChild(link)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<style scoped>
 | 
					<style scoped>
 | 
				
			||||||
 | 
					.download-button {
 | 
				
			||||||
 | 
					  margin-top: 5px;
 | 
				
			||||||
 | 
					  background-color: #3bb9f1;
 | 
				
			||||||
 | 
					  color: white;
 | 
				
			||||||
 | 
					  padding: 10px;
 | 
				
			||||||
 | 
					  border-radius: 10px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
</style>
 | 
					</style>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user