feat(core): 将goog.get接口调整为goog.readJsonSync以指示其同步操作特性
This commit is contained in:
@@ -25,7 +25,7 @@ class FooterLayerExample extends FooterLayer {
|
||||
static {
|
||||
// 弹层模板
|
||||
this.menuHTMLTemplate = new HTMLTemplate(
|
||||
goog.get(path.join(Env.templatePath, 'html/footerlayer/footerlayer-example.html'))
|
||||
goog.readFileSync(path.join(Env.templatePath, 'html/footerlayer/footerlayer-example.html'))
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user