提交 4a6d7e57 authored 作者: 王鹏飞's avatar 王鹏飞

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

上级 6629d5d6
...@@ -26,7 +26,7 @@ const platformList: PlatformItem[] = [ ...@@ -26,7 +26,7 @@ const platformList: PlatformItem[] = [
if (stepActive === 2) { if (stepActive === 2) {
const res = await handleSubmit() const res = await handleSubmit()
const { data } = await getWechatAuth({ connection_id: res.id, redirect_uri: location.href, auth_type: 1 }) 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 false
} }
return true return true
...@@ -210,7 +210,12 @@ async function handleSave() { ...@@ -210,7 +210,12 @@ async function handleSave() {
</script> </script>
<template> <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-tabs v-model="stepActive" class="demo-tabs">
<!-- 第一步 --> <!-- 第一步 -->
<el-tab-pane disabled lazy label="选择连接类型" :name="1" v-if="!props.data?.id"> <el-tab-pane disabled lazy label="选择连接类型" :name="1" v-if="!props.data?.id">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论