新增代理功能

This commit is contained in:
lyswhut
2019-09-16 00:00:07 +08:00
parent 8bdbbc562c
commit b9aedc9165
6 changed files with 138 additions and 2 deletions
+10 -1
View File
@@ -163,7 +163,7 @@ export const isChildren = (parent, children) => {
* @param {*} setting
*/
export const updateSetting = setting => {
const defaultVersion = '1.0.7'
const defaultVersion = '1.0.8'
const defaultSetting = {
version: defaultVersion,
player: {
@@ -197,6 +197,15 @@ export const updateSetting = setting => {
odc: {
isAutoClearSearchInput: false,
},
network: {
proxy: {
enable: false,
host: '',
port: '',
username: '',
password: '',
},
},
themeId: 0,
sourceId: 'kw',
apiSource: 'test',