fix: BUG修改

This commit is contained in:
kun 2024-04-27 21:59:52 +08:00
parent d89c9ed4a5
commit 3a0ff68792

View File

@ -36,6 +36,7 @@
</template>
<script>
import { entryCodeApi } from '@/assets/js/api/safeManage.js'
export default {
name: 'myLogin',
data () {
@ -66,7 +67,7 @@ export default {
idCard: this.value
};
// const idCard = this.value;
const { data: res } = await this.$http.post('/xmgl/workerInfo/selectWorkerInfoByIdCard', params);
const { data: res } = await entryCodeApi(params);
console.log(res);
if (res.success == true) {
this.id = res.result.id;