contents-popup-redtombo 1.1.1 → 1.1.3
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.
|
@@ -8,6 +8,7 @@ const { popupVisible } = toRefs(state);
|
|
|
8
8
|
|
|
9
9
|
// プロパティ定義と取得
|
|
10
10
|
const props = defineProps<{
|
|
11
|
+
buttonName: string;
|
|
11
12
|
component: string;
|
|
12
13
|
componentList: Record<string, Component>;
|
|
13
14
|
click?: (variable?: any) => void;
|
|
@@ -39,7 +40,7 @@ function handleClick() {
|
|
|
39
40
|
|
|
40
41
|
<template>
|
|
41
42
|
<div>
|
|
42
|
-
<button @click="handleClick();" class="btn btn-primary"
|
|
43
|
+
<button @click="handleClick();" class="btn btn-primary">{{ props.buttonName }}</button>
|
|
43
44
|
<componentPopup2 v-if="popupVisible" />
|
|
44
45
|
</div>
|
|
45
46
|
</template>
|