@unizhen/ui 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/lib/ui.js +11 -8
  2. package/package.json +1 -1
package/lib/ui.js CHANGED
@@ -3861,14 +3861,17 @@ const qe = /* @__PURE__ */ g(kh, [["render", bh]]), xh = re({
3861
3861
  return T.form.show;
3862
3862
  }
3863
3863
  if (_ && typeof _ == "string") {
3864
- const V = new Function("mainFormValue", _);
3864
+ const V = new Function("mainFormValue", "userStore", _);
3865
3865
  try {
3866
- return V({
3867
- value: () => a.value,
3868
- setValue: (F) => {
3869
- a.value = F;
3870
- }
3871
- });
3866
+ return V(
3867
+ {
3868
+ value: () => a.value,
3869
+ setValue: (F) => {
3870
+ a.value = F;
3871
+ }
3872
+ },
3873
+ n
3874
+ );
3872
3875
  } catch {
3873
3876
  return !0;
3874
3877
  }
@@ -8822,7 +8825,7 @@ function X0(e, t, n) {
8822
8825
  refetch: S
8823
8826
  };
8824
8827
  }
8825
- const v0 = "0.1.1";
8828
+ const v0 = "0.1.2";
8826
8829
  let ya;
8827
8830
  async function ba() {
8828
8831
  const e = await fetch(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unizhen/ui",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "author": {
5
5
  "name": "Donovan"
6
6
  },