增加admin管理帐号和项目的界面--初步实现
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
export function buildFormatLongFn(args) {
|
||||
return (options = {}) => {
|
||||
// TODO: Remove String()
|
||||
const width = options.width ? String(options.width) : args.defaultWidth;
|
||||
const format = args.formats[width] || args.formats[args.defaultWidth];
|
||||
return format;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user