提交 22340f7b authored 作者: 王鹏飞's avatar 王鹏飞

chore: 修改公众号授权页地址

上级 ee7c62aa
......@@ -26,7 +26,7 @@ const platformList: PlatformItem[] = [
if (stepActive === 2) {
const res = await handleSubmit()
const { data } = await getWechatAuth({ connection_id: res.id, redirect_uri: location.href, auth_type: 1 })
location.href = data.url
location.href = 'https://webapp-pub.ezijing.com/auth.html?redirect_uri=' + encodeURIComponent(data.url)
return false
}
return true
......@@ -210,7 +210,12 @@ async function handleSave() {
</script>
<template>
<el-dialog class="connect-form" :title="props.data?.id ? '编辑连接' : '新建连接'" :close-on-click-modal="false" width="1050px" @update:modelValue="$emit('update:modelValue')">
<el-dialog
class="connect-form"
:title="props.data?.id ? '编辑连接' : '新建连接'"
:close-on-click-modal="false"
width="1050px"
@update:modelValue="$emit('update:modelValue')">
<el-tabs v-model="stepActive" class="demo-tabs">
<!-- 第一步 -->
<el-tab-pane disabled lazy label="选择连接类型" :name="1" v-if="!props.data?.id">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论