Skip to content

Commit 7a3f73b

Browse files
committed
更新[chavy.box.js]: 导入会话界面增加清空按钮
1 parent 78b3407 commit 7a3f73b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎chavy.box.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -494,19 +494,19 @@ function printHtml(data, curapp = null) {
494494
<v-card-title>
495495
导入会话
496496
<v-spacer></v-spacer>
497-
<v-btn text class="mr-n4" color="red darken-1" @click="ui.impSessionDialog.impval = ''">清空</v-btn>
497+
<v-btn text small class="mr-n4" color="red darken-1" @click="ui.impSessionDialog.impval = ''">清空</v-btn>
498498
</v-card-title>
499499
<v-divider></v-divider>
500500
<v-card-text>
501501
<v-textarea clearable auto-grow v-model="ui.impSessionDialog.impval" label="会话数据 (JSON)" hint="请粘贴 JSON 格式的会话数据! 你可以通过 复制会话 获得数据."></v-textarea>
502502
</v-card-text>
503503
<v-divider></v-divider>
504504
<v-card-actions>
505-
<v-btn text @click="" v-clipboard:copy="JSON.stringify(ui.impSessionDialog.impval)" v-clipboard:success="onCopy">复制</v-btn>
506-
<v-btn text @click="onImpSessionPaste">粘粘</v-btn>
505+
<v-btn text small @click="" v-clipboard:copy="JSON.stringify(ui.impSessionDialog.impval)" v-clipboard:success="onCopy">复制</v-btn>
506+
<v-btn text small @click="onImpSessionPaste">粘粘</v-btn>
507507
<v-spacer></v-spacer>
508-
<v-btn text color="grey darken-1" text @click="ui.impSessionDialog.show = false">取消</v-btn>
509-
<v-btn text color="success darken-1" text @click="onImpSession">导入</v-btn>
508+
<v-btn text small color="grey darken-1" text @click="ui.impSessionDialog.show = false">取消</v-btn>
509+
<v-btn text small color="success darken-1" text @click="onImpSession">导入</v-btn>
510510
</v-card-actions>
511511
</v-card>
512512
</v-dialog>

0 commit comments

Comments
 (0)