File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <vue-recaptcha theme =" dark" :size =" screenWidth < 768 ? 'compact' : 'normal'" :sitekey =" captchakey" @verify =" handleSuccess" @error =" handleError" ></vue-recaptcha >
2
+ <vue-recaptcha theme =" dark" :size =" screenWidth < 768 ? 'compact' : 'normal'" :sitekey =" captchakey" @verify =" handleSuccess" @error =" handleError" v-if = " captchakey " ></vue-recaptcha >
3
3
</template >
4
4
5
5
<script setup lang="ts">
6
- import { onMounted } from ' vue'
7
6
import { useWindowSize } from ' @vueuse/core'
8
7
9
8
type Props = {
10
- captchakey: string
9
+ captchakey: string | undefined
11
10
}
12
11
defineProps <Props >()
13
12
Original file line number Diff line number Diff line change 1
1
import { createApp } from 'vue'
2
2
import { createPinia } from 'pinia'
3
3
import { VueRecaptcha } from 'vue-recaptcha'
4
+ import { faucetDetailPlugin } from '@/stores/faucetDetail'
4
5
5
6
import './style.css'
6
7
import App from './App.vue'
7
8
8
9
const pinia = createPinia ( )
10
+ pinia . use ( faucetDetailPlugin )
11
+
9
12
const app = createApp ( App )
10
13
11
14
app . use ( pinia )
You can’t perform that action at this time.
0 commit comments