提交 64570301 编写于 作者: Q qiang

build: build v3

上级 93d5750d
......@@ -1356,7 +1356,10 @@ var serviceContext = (function () {
},
extension: {
type: Array,
default: ['']
default: [''],
validator (extension, params) {
if (extension.length === 0) { return 'param extension should not be empty.' }
}
}
};
......@@ -1402,7 +1405,7 @@ var serviceContext = (function () {
type: Array,
default: ['*'],
validator (extension, params) {
if (extension.length === 0) params.extension = ['*'];
if (extension.length === 0) { return 'param extension should not be empty.' }
}
}
};
......@@ -1436,7 +1439,7 @@ var serviceContext = (function () {
type: Array,
default: ['*'],
validator (extension, params) {
if (extension.length === 0) params.extension = ['*'];
if (extension.length === 0) { return 'param extension should not be empty.' }
}
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册