|
@@ -51,7 +51,6 @@ const data = reactive({
|
|
})
|
|
})
|
|
|
|
|
|
const deviceType = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? "Mobile" : "Desktop";
|
|
const deviceType = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? "Mobile" : "Desktop";
|
|
-console.log(deviceType);
|
|
|
|
|
|
|
|
const getDetail = () => {
|
|
const getDetail = () => {
|
|
data.form = proxy.$route.query
|
|
data.form = proxy.$route.query
|
|
@@ -64,6 +63,8 @@ const getSubmit = () => {
|
|
wifi(data.form).then(res => {
|
|
wifi(data.form).then(res => {
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
proxy.$modal.msgSuccess('配网成功!')
|
|
proxy.$modal.msgSuccess('配网成功!')
|
|
|
|
+ data.form = {}
|
|
|
|
+ proxy.$refs.form.resetFields()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|