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> </template>
<script> <script>
import { entryCodeApi } from '@/assets/js/api/safeManage.js'
export default { export default {
name: 'myLogin', name: 'myLogin',
data () { data () {
@ -66,7 +67,7 @@ export default {
idCard: this.value idCard: this.value
}; };
// const 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); console.log(res);
if (res.success == true) { if (res.success == true) {
this.id = res.result.id; this.id = res.result.id;