mirror of
https://github.com/sahadev/vue-component-creater-ui.git
synced 2025-12-19 17:16:06 +08:00
完成对LCG逻辑初始化的支持
This commit is contained in:
@@ -34,7 +34,7 @@ export function createNewCodeGenerator() {
|
||||
const kav = methodItem.split(":");
|
||||
const key = kav[0];
|
||||
// 这里获取的是原始data数据
|
||||
if (window.methodSourceMap[key]) {
|
||||
if (window.methodSourceMap && window.methodSourceMap[key]) {
|
||||
return `${key}: ${window.methodSourceMap[key]}`;
|
||||
} else {
|
||||
return methodItem;
|
||||
|
||||
Reference in New Issue
Block a user