|
|
|
@ -164,7 +164,7 @@ function selectSource(selectType) { |
|
|
|
|
return 'toast://'+runMode+' 主页源已设置为:' + input; |
|
|
|
|
}, selectType, sourcename, cfgfile, Juconfig) |
|
|
|
|
//}});
|
|
|
|
|
return "hiker://empty"; |
|
|
|
|
//return "hiker://empty";
|
|
|
|
|
} |
|
|
|
|
//打开指定类型的新页面
|
|
|
|
|
function rulePage(datatype,ispage) { |
|
|
|
@ -413,6 +413,17 @@ function getYiData(datatype,od) { |
|
|
|
|
lineVisible: false |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
confirm({ |
|
|
|
|
title: "主页源不存在", |
|
|
|
|
content: "需先选择配置主页源", |
|
|
|
|
confirm: $.toString((input) => { |
|
|
|
|
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJuPublic.js'); |
|
|
|
|
return selectSource(input); |
|
|
|
|
},runMode), |
|
|
|
|
cancel: $.toString(() => { |
|
|
|
|
return "toast://点击组件或当前分类名称都可以切换主页源"; |
|
|
|
|
}) |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
setResult(d); |
|
|
|
|
} |
|
|
|
|