mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
14 lines
294 B
JavaScript
14 lines
294 B
JavaScript
import qs from 'qs';
|
|
|
|
const pitcher = code => code;
|
|
|
|
export const pitch = function () {
|
|
const context = this;
|
|
const query = qs.parse(context.resourceQuery.slice(1));
|
|
if (query.type === 'custom' && query.blockType === 'config') {
|
|
return '';
|
|
}
|
|
};
|
|
|
|
export default pitcher;
|