diff --git a/packages/uni-template-compiler/lib/index.js b/packages/uni-template-compiler/lib/index.js index cacdda93af24daa6d1eca5174f6aa282a8baa3c7..f8c45f2d2c52be99292087c3e8d00563db817e75 100644 --- a/packages/uni-template-compiler/lib/index.js +++ b/packages/uni-template-compiler/lib/index.js @@ -39,7 +39,7 @@ module.exports = { try { return compile(source, options) } catch (e) { - console.error(`'错误:${options.resourcePath}'`) + console.error(`错误:${options.resourcePath}`) throw new Error(e.message) } } else if (options.view) { @@ -49,7 +49,7 @@ module.exports = { try { return compile(source, options) } catch (e) { - console.error(`'错误:${options.resourcePath}'`) + console.error(`错误:${options.resourcePath}`) throw new Error(e.message) } }