修复模板解析的Bug

Signed-off-by: XuTongle <xutongle@gmail.com>