feat:Add 'module_assetlist' cbs
This commit is contained in:
@@ -1544,6 +1544,17 @@ function basicMatcher (p1:string,matcherArg:matcherArg,vars:{[key:string]:string
|
|||||||
}
|
}
|
||||||
return '0'
|
return '0'
|
||||||
}
|
}
|
||||||
|
case 'module_assetlist':{
|
||||||
|
const module = getModules()?.find((f) => {
|
||||||
|
return f.namespace === arra[1]
|
||||||
|
})
|
||||||
|
if(!module){
|
||||||
|
return ''
|
||||||
|
}
|
||||||
|
return makeArray(module.assets?.map((f) => {
|
||||||
|
return f[0]
|
||||||
|
}))
|
||||||
|
}
|
||||||
case 'filter':{
|
case 'filter':{
|
||||||
const array = parseArray(arra[1])
|
const array = parseArray(arra[1])
|
||||||
const filterTypes = [
|
const filterTypes = [
|
||||||
|
|||||||
Reference in New Issue
Block a user