添加全局样式和 element ui框架
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nacos-federation",
|
||||
"version": "1.0.2",
|
||||
"version": "1.1.0",
|
||||
"description": "Nacos服务注册与发现插件,用于模块联邦",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
||||
@@ -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