Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
iiop123 committed Nov 13, 2022
1 parent 9419883 commit 4c5ffde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion static/src/list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default{
this.file_info=this.file_info.filter((t)=>t!=i)
},
doCopy(e) {
this.$copyText('https://img.giao111.workers.dev/api/img/'+this.list[e].name).then(()=>{
this.$copyText(`${window.location.origin}/api/img/`+this.list[e].name).then(()=>{
mdui.alert('复制成功')
},()=>{
mdui.alert('失败')
Expand Down
6 changes: 1 addition & 5 deletions static/src/water.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,7 @@ export default{
</script>
<template>
<Transition name="loading">
<div v-if="status" class="loading">
<img src="https://img.giao111.workers.dev/api/img/DbscdA"
style="width: 5vh;">
<h4>上传中...</h4>
</div>
<Loading :active="this.status" loader="bars" width="50" height="50" color="rgb(0,123,255)"></Loading>
</Transition>
<Loading :active="this.start" loader="bars" width="50" height="50" color="rgb(0,123,255)"></Loading>
<div style="font-weight: 300; top:20%;" class="center" v-if="change">
Expand Down

0 comments on commit 4c5ffde

Please sign in to comment.