feat[Search]: route search supports pinyin (#2643)

This commit is contained in:
MaYuanhai
2020-05-04 21:38:43 +08:00
committed by GitHub
parent 255989138d
commit 39b2b9b872
5 changed files with 60 additions and 15 deletions

View File

@@ -1,14 +1,15 @@
import variables from '@/styles/element-variables.scss'
import defaultSettings from '@/settings'
const { showSettings, tagsView, fixedHeader, sidebarLogo } = defaultSettings
const { showSettings, tagsView, fixedHeader, sidebarLogo, supportPinyinSearch } = defaultSettings
const state = {
theme: variables.theme,
showSettings: showSettings,
tagsView: tagsView,
fixedHeader: fixedHeader,
sidebarLogo: sidebarLogo
showSettings,
tagsView,
fixedHeader,
sidebarLogo,
supportPinyinSearch
}
const mutations = {