提交 c11c2e6b 编写于 作者: Y yylgit

interface-loader fix

上级 bf59cd6d
......@@ -30,7 +30,7 @@ module.exports = function (content) {
if (!interfaceContent) {
throw new Error(`文件: ${filePath}未定义<script cml-type="interface"></script>`)
}
if (!interfaceContent) {
if (!methodFileContent) {
throw new Error(`文件: ${filePath}未定义<script cml-type="${cmlType}"></script>`)
}
let result = `
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册