|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <Confirm :title="title" :func="clickHandler" :no-text="noText" :ok-text="okText">
|
|
|
+ <confirm :title="title" :func="clickHandler" :no-text="noText" :ok-text="okText">
|
|
|
<template #content>
|
|
|
<div>
|
|
|
<div class="cropper-layer" :style="style">
|
|
@@ -12,14 +12,14 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
- </Confirm>
|
|
|
+ </confirm>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
-<script setup lang="ts">
|
|
|
+<script lang="ts" setup>
|
|
|
import { computed, defineProps, nextTick, ref } from 'vue'
|
|
|
import { VueCropper } from 'vue-cropper'
|
|
|
-import Confirm from '../dialog/confirm.vue'
|
|
|
+import confirm from '@kankan-components/components/basic/dialog/src/confirm.vue'
|
|
|
import 'vue-cropper/dist/index.css'
|
|
|
// import { useI18n } from '@/i18n'
|
|
|
// const { t } = useI18n({ useScope: 'global' })
|