优化搜索接收器

master
夜笙歌 2 years ago
parent c322604c54
commit 0e6b2cce43

@ -182,6 +182,7 @@ import {
import {useI18n} from 'vue-i18n'; import {useI18n} from 'vue-i18n';
import Cookies from "js-cookie"; import Cookies from "js-cookie";
import {parseTime} from "@/utils/ruoyi";
const {t} = useI18n(); const {t} = useI18n();
@ -309,7 +310,8 @@ const bindSearch = () => {
const bindOk = () => { const bindOk = () => {
let params = { let params = {
deviceId: bindValue.value, deviceId: bindValue.value,
id: waitBind.value id: waitBind.value,
deviceBindTime:parseTime(new Date(), '{y}-{m}-{d}')
} }
updateBaseCar(params).then(() => { updateBaseCar(params).then(() => {
bindValue.value = ''; bindValue.value = '';

Loading…
Cancel
Save