fix.
This commit is contained in:
@@ -67,7 +67,12 @@ onMounted(init)
|
||||
</n-alert>
|
||||
<n-card embedded>
|
||||
<n-space justify="end">
|
||||
<n-button type="primary" @click="handleCopy(submission!.code)">
|
||||
<n-button
|
||||
quaternary
|
||||
class="copyBtn"
|
||||
type="primary"
|
||||
@click="handleCopy(submission!.code)"
|
||||
>
|
||||
{{ copied ? "已复制" : "复制代码" }}
|
||||
</n-button>
|
||||
</n-space>
|
||||
@@ -90,4 +95,8 @@ onMounted(init)
|
||||
.code {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.copyBtn {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user