|
@@ -13,12 +13,16 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
-<script setup>
|
|
|
|
|
|
+<script lang="ts" setup>
|
|
// watchEffect
|
|
// watchEffect
|
|
import { computed, defineProps, provide, ref, watch } from 'vue'
|
|
import { computed, defineProps, provide, ref, watch } from 'vue'
|
|
import { normalizeUnitToStyle } from '@kankan-components/utils'
|
|
import { normalizeUnitToStyle } from '@kankan-components/utils'
|
|
import { Relation } from './constant'
|
|
import { Relation } from './constant'
|
|
|
|
|
|
|
|
+defineOptions({
|
|
|
|
+ name: 'UIGate',
|
|
|
|
+})
|
|
|
|
+
|
|
const contentInstances = ref([])
|
|
const contentInstances = ref([])
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
index: {
|
|
index: {
|
|
@@ -42,6 +46,6 @@ watch([contentInstances, slideIndex], () => {
|
|
provide(Relation, contentInstances)
|
|
provide(Relation, contentInstances)
|
|
</script>
|
|
</script>
|
|
|
|
|
|
-<script>
|
|
|
|
|
|
+<!-- <script>
|
|
export default { name: 'UiGate' }
|
|
export default { name: 'UiGate' }
|
|
-</script>
|
|
|
|
|
|
+</script> -->
|