diff --git a/src/view/dialog/dialogCamera.vue b/src/view/dialog/dialogCamera.vue index 4c6bf5f..1ed0830 100644 --- a/src/view/dialog/dialogCamera.vue +++ b/src/view/dialog/dialogCamera.vue @@ -114,7 +114,10 @@ watch( (newVal) => { if (newVal) { // 打开时执行 - initializeVideo(); + nextTick(()=>{ + + initializeVideo(); + }) } else { // 关闭时执行 disposeVideo(); diff --git a/src/view/person/index.vue b/src/view/person/index.vue index 3309429..a3674cb 100644 --- a/src/view/person/index.vue +++ b/src/view/person/index.vue @@ -74,7 +74,8 @@ v-for="item in dataMyTag.myTag" :key="item" @click="item.show ? onClickTag(item) : ''" - :class="item.show ? 'my-tag-item_active' : ''"> + :class="item.show ? 'my-tag-item_active' : ''" + >

{{ item.name }}

@@ -86,6 +87,12 @@

返回

+ +
+ +
+ +
+ @click="onClickTag2(item.name, item.label)" + > 退休
养老
{{ item.name }}
-
- -
+ }" + >