更新 'SrcJuSet.js'

Ju
src48597962 2 years ago
parent aa1e7182f8
commit 7b607a9ef5
  1. 10
      SrcJuSet.js

@ -289,7 +289,7 @@ function SRCSet() {
} }
}, sourcefile, base64Encode(JSON.stringify(item))), }, sourcefile, base64Encode(JSON.stringify(item))),
desc: (item.group?"["+item.group+"] ":"") + item.type, desc: (item.group?"["+item.group+"] ":"") + item.type,
img: "https://hikerfans.com/tubiao/ke/31.png", img: item.img || "https://hikerfans.com/tubiao/ke/31.png",
col_type: "avatar", col_type: "avatar",
extra: { extra: {
id: item.type+"_"+item.name id: item.type+"_"+item.name
@ -353,7 +353,7 @@ function jiekouapi(sourcefile, data) {
d.push({ d.push({
title: '接口图标', title: '接口图标',
col_type: 'input', col_type: 'input',
desc:"可留空", desc:"接口图标可留空",
extra: { extra: {
defaultValue: getMyVar('jiekouimg') || "", defaultValue: getMyVar('jiekouimg') || "",
titleVisible: false, titleVisible: false,
@ -400,7 +400,7 @@ function jiekouapi(sourcefile, data) {
titleVisible: false, titleVisible: false,
type: "textarea", type: "textarea",
highlight: true, highlight: true,
height: 3, height: 2,
onChange: $.toString(() => { onChange: $.toString(() => {
if (/{|}/.test(input) || !input) { if (/{|}/.test(input) || !input) {
storage0.putMyVar("jiekouerparse", input) storage0.putMyVar("jiekouerparse", input)
@ -417,7 +417,7 @@ function jiekouapi(sourcefile, data) {
titleVisible: false, titleVisible: false,
type: "textarea", type: "textarea",
highlight: true, highlight: true,
height: 2, height: 1,
onChange: $.toString(() => { onChange: $.toString(() => {
if (/{|}/.test(input) || !input) { if (/{|}/.test(input) || !input) {
storage0.putMyVar("jiekoupublic", input) storage0.putMyVar("jiekoupublic", input)
@ -532,7 +532,7 @@ function jiekouapi(sourcefile, data) {
if (img) { if (img) {
newapi['img'] = img; newapi['img'] = img;
} }
newapi['updatetime'] = $.dateFormat(new Date(),"yyyy-MM-dd hh:mm:ss"); newapi['updatetime'] = new Date();
log(newapi['updatetime']); log(newapi['updatetime']);
let sourcedata = fetch(sourcefile); let sourcedata = fetch(sourcefile);
if (sourcedata != "") { if (sourcedata != "") {

Loading…
Cancel
Save