mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 09:41:57 +00:00
docs: ✏️ 去掉一些意见处理了的 TODO
This commit is contained in:
parent
206a04eae8
commit
730387de95
@ -33,7 +33,6 @@ const pluginFactory: BuilderComponentPluginFactory<PluginConfig> = (config?) =>
|
||||
if (ir.state) {
|
||||
const state = ir.state;
|
||||
const fields = Object.keys(state).map<string>((stateName) => {
|
||||
// TODO: 这里用什么 handlers?
|
||||
const [isString, value] = generateCompositeType(state[stateName], {});
|
||||
return `${stateName}: ${isString ? `'${value}'` : value},`;
|
||||
});
|
||||
|
||||
@ -43,14 +43,12 @@ const pluginFactory: BuilderComponentPluginFactory<PluginConfig> = (config?) =>
|
||||
linkAfter: [CLASS_DEFINE_CHUNK_NAME.Start],
|
||||
});
|
||||
|
||||
// TODO: Page methods...
|
||||
next.chunks.push({
|
||||
type: ChunkType.STRING,
|
||||
fileType: cfg.fileType,
|
||||
name: CLASS_DEFINE_CHUNK_NAME.InsPrivateMethod,
|
||||
|
||||
// 绑定下上下文,这样在所有的 utils 里面都能通过 this.xxx 来访问上下文了
|
||||
// TODO: 要不要优化为通过 Proxy 的方式懒绑定?
|
||||
content: `
|
||||
_defineUtils() {
|
||||
const utils = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user