master #13
|
@ -1011,7 +1011,7 @@ class CCPMethodEditorController extends HTMLElement {
|
|||
}
|
||||
if(i.schema.format === "file"){
|
||||
def = Array.isArray(def) ? def : [def]
|
||||
def = def.map(v=>v.substring(0,5) + "......" + v.substring(v.length-5))
|
||||
def = def.map(v=>v.length > 15 ? v.substring(0,5) + "..." + v.substring(v.length-5) : v)
|
||||
}
|
||||
return acc.replaceAll(r, def)
|
||||
}, code)
|
||||
|
|
Loading…
Reference in New Issue