更新 'SrcJySet.js'

pull/1/head
src48597962 2 years ago
parent 41d5503f0e
commit 76574e13de
  1. 5
      SrcJySet.js

@ -2582,6 +2582,7 @@ function JYimport(input) {
if(input.indexOf('@import=js:')>-1){
try{
input = input.split('\n')[1].split('@import=js:')[0];
var cloudimport = 1;
}catch(e){
return "云口令有误,无法导入";
}
@ -2605,7 +2606,7 @@ function JYimport(input) {
let pastedata = JSON.parse(base64Decode(text));
let urlnum = 0;
require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJySet.js');
//require(config.依赖.match(/http(s)?:\/\/.*\//)[0] + 'SrcJySet.js');
if(getMyVar('guanli', 'jk')=="jk"){
if(codelx=="share"){
var pastedatalist = pastedata;
@ -2621,7 +2622,7 @@ function JYimport(input) {
}
urlnum = jiexisave(pastedatalist);
}
if(urlnum>0){
if(urlnum>0&&cloudimport!=1){
refreshPage(false);
}
return "toast://"+sm+"合计:"+pastedatalist.length+",保存:"+urlnum;

Loading…
Cancel
Save