-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
92b81f7
commit a8fa99b
Showing
11 changed files
with
291 additions
and
58 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<script setup> | ||
</script> | ||
|
||
<template> | ||
<div> | ||
平局背诵时间 | ||
<br> | ||
<a-progress type="circle" :percent="75" /> | ||
<br> | ||
fa | ||
</div> | ||
|
||
</template> | ||
<script> | ||
export default { | ||
} | ||
</script> | ||
<style scoped> | ||
div { | ||
margin: 10px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<script setup> | ||
</script> | ||
|
||
<template> | ||
<br><br><br><br> | ||
<a-input v-model:value="value" placeholder="Basic usage"/> | ||
<br><br><br><br><br><br><br><br><br> | ||
<a-button @click="logarea">ke</a-button> | ||
<a-button @click="sendString">获得词组</a-button> | ||
<a-button>xing</a-button> | ||
|
||
<br><br> | ||
|
||
</template> | ||
<script> | ||
import service from "@/utils/service"; | ||
export default { | ||
data() { | ||
return { | ||
value: "" | ||
} | ||
}, | ||
methods: { | ||
sendString() { | ||
service.post( | ||
"deal", { | ||
data1: this.value | ||
} | ||
).then(res => { | ||
console.log(res.data) | ||
this.value = res.data | ||
}).catch( | ||
this.value="button 1 can't be click" | ||
) | ||
}, | ||
logarea() { | ||
service.get("/1").then(res => { | ||
console.log(res.data) | ||
this.value = "logaaa" | ||
}) | ||
} | ||
} | ||
} | ||
</script> | ||
<style scoped> | ||
</style> |
Oops, something went wrong.