|
@@ -105,7 +105,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script setup lang="ts" name="orderAcceptCitizenPortrait">
|
|
|
-import { computed, onMounted, reactive, ref, watch } from 'vue';
|
|
|
+import {computed, nextTick, onMounted, reactive, ref, watch} from 'vue';
|
|
|
import { ElMessage, ElMessageBox, FormInstance } from 'element-plus';
|
|
|
import { citizenDetailByPhone, citizenAdd, citizenLabelAdd, citizenLabelDelete } from '/@/api/business/citizen';
|
|
|
import { formatDate } from '/@/utils/formatTime';
|
|
@@ -236,8 +236,10 @@ const closeTag = (item: any) => {
|
|
|
})
|
|
|
.catch(() => {});
|
|
|
};
|
|
|
-onMounted(() => {
|
|
|
+onMounted(async () => {
|
|
|
+ await nextTick()
|
|
|
getCitizen();
|
|
|
+ console.log('321')
|
|
|
});
|
|
|
defineExpose({
|
|
|
getCitizen,
|