Skip to content

Commit

Permalink
fix: update tag empty
Browse files Browse the repository at this point in the history
  • Loading branch information
oeyoews committed Mar 23, 2024
1 parent abf72b1 commit d59a232
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion entrypoints/popup/Popup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ const inputValue = ref()
const dynamicTags = ref()
chrome.storage.local.get(['tags'], function (result) {
dynamicTags.value = Object.values(result.tags) || ['剪藏']
if (result.tags) {
dynamicTags.value = Object.values(result.tags)
} else {
dynamicTags.value = ['剪藏']
}
});
const inputVisible = ref(false)
Expand Down

0 comments on commit d59a232

Please sign in to comment.