Commit b004ced8 by lijiabin

【需求 22261】 fix: 增加catch处理

parent d48b10fd
...@@ -22,7 +22,9 @@ const locale = ref(zhCn) ...@@ -22,7 +22,9 @@ const locale = ref(zhCn)
onMounted(() => { onMounted(() => {
// console.table(__CORE_LIB_VERSION__) // console.table(__CORE_LIB_VERSION__)
if (import.meta.env.MODE === 'production') { if (import.meta.env.MODE === 'production') {
initWxConfig() initWxConfig().catch((error) => {
console.warn('企业微信 SDK 初始化失败', error)
})
} }
}) })
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment