优化更新弹窗功能,新增非安装版弹窗提醒

This commit is contained in:
lyswhut
2019-08-24 14:24:07 +08:00
parent be689f088d
commit b270096591
10 changed files with 120 additions and 34 deletions
+2 -1
View File
@@ -161,7 +161,7 @@ export const isChildren = (parent, children) => {
* @param {*} setting
*/
export const updateSetting = setting => {
const defaultVersion = '1.0.3'
const defaultVersion = '1.0.4'
const defaultSetting = {
version: defaultVersion,
player: {
@@ -185,6 +185,7 @@ export const updateSetting = setting => {
sourceId: 'kw',
apiSource: 'messoer',
randomAnimate: true,
ignoreVersion: null,
}
const overwriteSetting = {
version: defaultVersion,