From d7e83c92d2775511f48e85a33e983b4f9c7f94f3 Mon Sep 17 00:00:00 2001 From: guy Date: Fri, 3 Nov 2017 14:51:53 +0800 Subject: [PATCH] update --- dist/fix/fix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/fix/fix.js b/dist/fix/fix.js index d0408693d..9a409842c 100644 --- a/dist/fix/fix.js +++ b/dist/fix/fix.js @@ -1022,7 +1022,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons }); return; } - if (/\*\*/.test(exp)) { + if (/\*\*|\*$/.test(exp)) { throw new Error('not support'); } //其他含有*的情况,如*.a,*.*.a,a.*.a.*