We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 945a7be commit 28d7a73Copy full SHA for 28d7a73
www/index.html
@@ -43,6 +43,7 @@ <h1 class="title">思源映射查看器</h1>
43
<span class="name">字体粗细: {{ fontWeight }}</span>
44
<input type="range" min="200" max="900" step="50" v-model="fontWeight">
45
</label>
46
+ <button @click="onResetOptionsClick">重置参数</button>
47
</div>
48
</template>
49
<div class="search-result">
www/js/app.js
@@ -96,6 +96,10 @@ createApp({
96
}
97
return 'black'
98
},
99
+ onResetOptionsClick() {
100
+ this.fontSize = 160
101
+ this.fontWeight = 400
102
+ },
103
onExampleTextClick(text) {
104
this.input = text
105
0 commit comments