This commit is contained in:
shijingjing
2022-09-29 14:07:58 +08:00
parent 5c59c6fb1c
commit 62f201e5e5

View File

@@ -303,12 +303,12 @@
<div class="btn" hover-class="text-hover" @click="submit">提交</div>
</div>
</div>
<AiLogin ref="login"/>
<AiLogin ref="login" @success="getAuth()"/>
</div>
</template>
<script>
import {mapState} from 'vuex'
import { mapState, mapActions } from 'vuex'
import NamePhone from './components/namePhone.vue'
export default {
appName: "添加卡口记录",
@@ -413,6 +413,13 @@ export default {
},
methods: {
...mapActions(['getUserInfo']),
getAuth() {
this.$nextTick(() => {
this.token && this.getUserInfo()
})
},
addCountHandle() {
this.people.push({
name: "",