更新 'SrcJySet.js'

master
src48597962 8 months ago
parent 48f8a24a05
commit 8ad15a09ee
  1. 17
      SrcJySet.js

@ -1512,6 +1512,15 @@ function resource() {
return "hiker://empty";
})
});
d.push({
title: (importtype=="2"?"👉":"")+"道长drpy库",
col_type: 'scroll_button',
url: $('#noLoading#').lazyRule(() => {
putMyVar('importtype','2');
refreshPage(false);
return "hiker://empty";
})
});
if(importtype=="1"){
d.push({
@ -1620,7 +1629,7 @@ function resource() {
});
d.push({
title: '🆗 确定导入(' + (Juconfig["importmode"]?"全":"增")+')',
url: getMyVar('importjiekou','1')!="1"&&getMyVar('importjiexi','1')!="1"?'toast://请选择导入项目':$('#noLoading#').lazyRule((Juconfig,cfgfile) => {
url: importtype=="1"&&getMyVar('importjiekou','1')!="1"&&getMyVar('importjiexi','1')!="1"?'toast://请选择导入项目':$('#noLoading#').lazyRule((Juconfig,cfgfile) => {
if(getMyVar('importinput', '')==""){
return 'toast://请先输入链接地址'
}
@ -1638,7 +1647,13 @@ function resource() {
}
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJySet.js');
if(getMyVar('importtype','1')=="1"){
return Resourceimport(input,getMyVar('importtype','1'),Juconfig['importmode']?1:0);
}else if(getMyVar('importtype','1')=="1"){
let html = request('https://github.com/hjdhnx/hipy-server/tree/master/app/t4/files/drpy_js');
log(html);
return "hiker://empty";
}
}, Juconfig, cfgfile),
col_type: "text_2",
extra: {

Loading…
Cancel
Save