@fangzhongya/vue-archive 0.0.3-23 → 0.0.3-24

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.
@@ -66910,12 +66910,16 @@ function getFFParam(str) {
66910
66910
  return [];
66911
66911
  }
66912
66912
  function getObjValue(d) {
66913
- return new Function(
66914
- "",
66915
- `{
66916
- return ${d}
66917
- }`
66918
- )();
66913
+ try {
66914
+ return new Function(
66915
+ "",
66916
+ `{
66917
+ return ${d}
66918
+ }`
66919
+ )();
66920
+ } catch (error) {
66921
+ return "" + d;
66922
+ }
66919
66923
  }
66920
66924
  function getDefaultValue(obj) {
66921
66925
  const vo = getSpecType(obj).zdtype;
@@ -66910,12 +66910,16 @@ function getFFParam(str) {
66910
66910
  return [];
66911
66911
  }
66912
66912
  function getObjValue(d) {
66913
- return new Function(
66914
- "",
66915
- `{
66916
- return ${d}
66917
- }`
66918
- )();
66913
+ try {
66914
+ return new Function(
66915
+ "",
66916
+ `{
66917
+ return ${d}
66918
+ }`
66919
+ )();
66920
+ } catch (error) {
66921
+ return "" + d;
66922
+ }
66919
66923
  }
66920
66924
  function getDefaultValue(obj) {
66921
66925
  const vo = getSpecType(obj).zdtype;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fangzhongya/vue-archive",
3
3
  "private": false,
4
- "version": "0.0.3-23",
4
+ "version": "0.0.3-24",
5
5
  "type": "module",
6
6
  "description ": "vue 组件注释生成文档",
7
7
  "author": "fangzhongya ",