浏览代码

upd: audio dts

suzigang 3 年之前
父节点
当前提交
2c470491ee
共有 3 个文件被更改,包括 7 次插入1 次删除
  1. 3 1
      src/packages/__VUE/audio/index.vue
  2. 2 0
      src/packages/__VUE/tour/index.taro.vue
  3. 2 0
      src/packages/__VUE/tour/index.vue

+ 3 - 1
src/packages/__VUE/audio/index.vue

@@ -63,6 +63,7 @@
 import { toRefs, ref, onMounted, reactive, watch, provide } from 'vue';
 import { toRefs, ref, onMounted, reactive, watch, provide } from 'vue';
 import { createComponent } from '@/packages/utils/create';
 import { createComponent } from '@/packages/utils/create';
 import { Service } from '@nutui/icons-vue';
 import { Service } from '@nutui/icons-vue';
+import Range from '../range/index.vue';
 const { componentName, create } = createComponent('audio');
 const { componentName, create } = createComponent('audio');
 
 
 export default create({
 export default create({
@@ -106,7 +107,8 @@ export default create({
     }
     }
   },
   },
   components: {
   components: {
-    Service
+    Service,
+    [Range.name]: Range
   },
   },
   emits: ['fastBack', 'play', 'forward', 'ended', 'changeProgress', 'mute', 'can-play'],
   emits: ['fastBack', 'play', 'forward', 'ended', 'changeProgress', 'mute', 'can-play'],
 
 

+ 2 - 0
src/packages/__VUE/tour/index.taro.vue

@@ -70,6 +70,7 @@ import { createComponent } from '@/packages/utils/create';
 import { useTaroRect } from '@/packages/utils/useTaroRect';
 import { useTaroRect } from '@/packages/utils/useTaroRect';
 import { Close } from '@nutui/icons-vue-taro';
 import { Close } from '@nutui/icons-vue-taro';
 import Taro from '@tarojs/taro';
 import Taro from '@tarojs/taro';
+import Popover from '../popover/index.taro.vue';
 
 
 interface StepOptions {
 interface StepOptions {
   target: Element;
   target: Element;
@@ -81,6 +82,7 @@ interface StepOptions {
 const { create } = createComponent('tour');
 const { create } = createComponent('tour');
 export default create({
 export default create({
   components: {
   components: {
+    [Popover.name]: Popover,
     Close
     Close
   },
   },
   props: {
   props: {

+ 2 - 0
src/packages/__VUE/tour/index.vue

@@ -69,6 +69,7 @@ import { PopoverLocation } from '../popover/type';
 import { createComponent } from '@/packages/utils/create';
 import { createComponent } from '@/packages/utils/create';
 import { useRect } from '@/packages/utils/useRect';
 import { useRect } from '@/packages/utils/useRect';
 import { Close } from '@nutui/icons-vue';
 import { Close } from '@nutui/icons-vue';
+import Popover from '../popover/index.vue';
 
 
 interface StepOptions {
 interface StepOptions {
   target: Element;
   target: Element;
@@ -80,6 +81,7 @@ interface StepOptions {
 const { create } = createComponent('tour');
 const { create } = createComponent('tour');
 export default create({
 export default create({
   components: {
   components: {
+    [Popover.name]: Popover,
     Close
     Close
   },
   },
   props: {
   props: {