Commit 68b1b658 by 王昆

gsb

parent 2cca6c28
...@@ -77,8 +77,12 @@ class System { ...@@ -77,8 +77,12 @@ class System {
return System.objTable[objabspath]; return System.objTable[objabspath];
} else { } else {
console.log("no cached..."); console.log("no cached...");
var ClassObj = require(objabspath); try {
return System.register(objabspath, ClassObj); var ClassObj = require(objabspath);
return System.register(objabspath, ClassObj);
} catch (error) {
console.log(error);
}
} }
} }
static getUiConfig(appid) { static getUiConfig(appid) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment