@uxda/appkit 1.2.20 → 1.2.22
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
|
@@ -2499,7 +2499,8 @@ const _hoisted_5$1 = { class: "col" };
|
|
|
2499
2499
|
var script$5 = /* @__PURE__ */ defineComponent({
|
|
2500
2500
|
__name: "BalanceReminder",
|
|
2501
2501
|
props: {
|
|
2502
|
-
modelValue: { type: Boolean, required: true, default: () => false }
|
|
2502
|
+
modelValue: { type: Boolean, required: true, default: () => false },
|
|
2503
|
+
buttonText: { type: String, required: false, default: "\u53BB\u5145\u503C" }
|
|
2503
2504
|
},
|
|
2504
2505
|
emits: ["recharge", "update:modelValue"],
|
|
2505
2506
|
setup(__props, { emit: __emit }) {
|
|
@@ -2538,7 +2539,11 @@ var script$5 = /* @__PURE__ */ defineComponent({
|
|
|
2538
2539
|
onClick: _cache[1] || (_cache[1] = ($event) => emit("recharge"))
|
|
2539
2540
|
}, {
|
|
2540
2541
|
default: withCtx(() => [
|
|
2541
|
-
createTextVNode(
|
|
2542
|
+
createTextVNode(
|
|
2543
|
+
toDisplayString(_ctx.buttonText),
|
|
2544
|
+
1
|
|
2545
|
+
/* TEXT */
|
|
2546
|
+
)
|
|
2542
2547
|
]),
|
|
2543
2548
|
_: 1
|
|
2544
2549
|
/* STABLE */
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<div class="col">
|
|
21
21
|
<nut-button block
|
|
22
22
|
class="recharge-button"
|
|
23
|
-
@click="emit('recharge')"
|
|
23
|
+
@click="emit('recharge')">{{buttonText}}</nut-button>
|
|
24
24
|
</div>
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
@@ -30,13 +30,15 @@
|
|
|
30
30
|
<script setup lang="ts">
|
|
31
31
|
interface BalanceReminderProps {
|
|
32
32
|
modelValue: boolean
|
|
33
|
+
buttonText?: string
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
const emit = defineEmits(['recharge', 'update:modelValue'])
|
|
36
37
|
|
|
37
38
|
withDefaults(
|
|
38
39
|
defineProps<BalanceReminderProps>(), {
|
|
39
|
-
modelValue: () => false
|
|
40
|
+
modelValue: () => false,
|
|
41
|
+
buttonText: '去充值'
|
|
40
42
|
}
|
|
41
43
|
)
|
|
42
44
|
</script>
|