chore: update branch references

This commit is contained in:
Evan You
2022-05-12 08:44:57 +08:00
parent b5b103a736
commit 54753c3401
5 changed files with 17 additions and 17 deletions

View File

@@ -10,7 +10,7 @@
v-model="currentBranch">
<label :for="branch">{{ branch }}</label>
</template>
<p>vuejs/vue@{{ currentBranch }}</p>
<p>vuejs/core@{{ currentBranch }}</p>
<ul>
<li v-for="{ html_url, sha, author, commit } in commits">
<a :href="html_url" target="_blank" class="commit">{{ sha.slice(0, 7) }}</a>
@@ -34,7 +34,7 @@ const formatDate = v => v.replace(/T|Z/g, ' ')
createApp({
setup() {
const currentBranch = ref('master')
const currentBranch = ref('main')
const commits = ref(null)
watchEffect(() => {
@@ -47,7 +47,7 @@ createApp({
})
return {
branches: ['master', 'sync'],
branches: ['main', 'v2-compat'],
currentBranch,
commits,
truncate,