添加全局样式和 element ui框架
This commit is contained in:
@@ -111,6 +111,7 @@ function dedentTemplateString(str: string) {
|
||||
// 找到最小缩进量
|
||||
const minIndent = lines.reduce((min, line) => {
|
||||
if (line.trim() === '') return min; // 跳过空行
|
||||
// @ts-ignore
|
||||
const indent = line.match(/^\s*/)[0].length;
|
||||
return indent < min ? indent : min;
|
||||
}, Infinity);
|
||||
|
||||
Reference in New Issue
Block a user