Commit 066f8f3c authored by spc's avatar spc

sywebview

parent fc62666b
{
"url": "https://25niansuyuan.feihe.com/projects/Firmus/dev/index"
}
\ No newline at end of file
...@@ -61,15 +61,15 @@ export default { ...@@ -61,15 +61,15 @@ export default {
const res = await fetchSyWebviewJSON() const res = await fetchSyWebviewJSON()
console.log('res', res) console.log('res', res)
// if (!res.data.url) { if (!res.data.url) {
// uni.redirectTo({ uni.redirectTo({
// url: '/pages/index/index' url: '/pages/index/index'
// }) })
// return return
// } }
// 固定写死的 URL(不从 options 读取 baseUrl) // 固定写死的 URL(不从 options 读取 baseUrl)
const baseUrl = res.data.url || 'https://25niansuyuan.feihe.com/projects/Firmus/dev/index'; const baseUrl = res.data.url;
const store = useGlobalStore(); const store = useGlobalStore();
const cuk = store.cuk; const cuk = store.cuk;
const openId = store.openId; const openId = store.openId;
......
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