@uxda/appkit 1.0.72 → 1.0.74

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 CHANGED
@@ -1504,7 +1504,7 @@ const _hoisted_25 = {
1504
1504
  var script$1 = /* @__PURE__ */ defineComponent({
1505
1505
  __name: "AccountView",
1506
1506
  props: {
1507
- app: { type: String, required: true }
1507
+ app: { type: String, required: true, default: "" }
1508
1508
  },
1509
1509
  emits: ["recharge"],
1510
1510
  setup(__props, { emit: __emit }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxda/appkit",
3
- "version": "1.0.72",
3
+ "version": "1.0.74",
4
4
  "description": "小程序应用开发包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.ts",
@@ -132,7 +132,11 @@ const safeArea = useSafeArea()
132
132
  type AccountViewProps = {
133
133
  app: string
134
134
  }
135
- const props = defineProps<AccountViewProps>()
135
+ const props = withDefaults(
136
+ defineProps<AccountViewProps>(), {
137
+ app: ''
138
+ }
139
+ )
136
140
 
137
141
  const emit = defineEmits(['recharge'])
138
142