amis-formula 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-formula v1.2.
|
|
2
|
+
* amis-formula v1.2.2
|
|
3
3
|
* Copyright 2021 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -119,7 +119,7 @@ var Evaluator = /** @class */ (function () {
|
|
|
119
119
|
input: ast.body,
|
|
120
120
|
filters: [
|
|
121
121
|
{
|
|
122
|
-
name: defaultFilter.replace(
|
|
122
|
+
name: defaultFilter.replace(/^\s*\|\s*/, ''),
|
|
123
123
|
args: []
|
|
124
124
|
}
|
|
125
125
|
]
|