actions proxy error with vue2.7 in IE11 #1440
-
Reproductionhttps://github.com/FE-Roading/vue2.7-element-admin Steps to reproduce the buguse Vue27 and setup mode <script lang="ts" setup> related code was below: const { login } = useAppStore()
function onLogin() {
loginFormRef?.value?.validate((valid) => {
if (valid) {
loading.value = true
const params = unref(loginForm)
debugger
login(params) // ---------------Error at this step
.then(() => {
loading.value = false
router.push("/")
})
.catch(() => {
loading.value = false
})
} else {
return false
}
})
} Expected behaviorSame code worked in Chrome111. Actual behaviorcapture error in ie11. Additional informationWindows Version is Window10H2, IE version is |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
not supported ? |
Beta Was this translation helpful? Give feedback.
-
I added ca73db9 to remove the devtools plugin in environments without Proxy. |
Beta Was this translation helpful? Give feedback.
-
How to resolve it with webpack |
Beta Was this translation helpful? Give feedback.
I added ca73db9 to remove the devtools plugin in environments without Proxy.
IE is supported but devtools and other DX features can only be enabled in modern browsers