Commit ff91f781 authored by 沈良进's avatar 沈良进

修改用户问题修改

parent f6f15765
...@@ -60,8 +60,7 @@ ...@@ -60,8 +60,7 @@
label="搜尋目的地、景點、行程觀光或酒店名稱..." label="搜尋目的地、景點、行程觀光或酒店名稱..."
@focus="searchFocusHandler" @focus="searchFocusHandler"
@blur="searchBlurHandler" @blur="searchBlurHandler"
@keyup="searchChangeHandler" @keyup.enter="goSearchHandler"
@keypress.enter.native="goSearchHandler"
/> />
<q-btn <q-btn
dark-percentage dark-percentage
...@@ -497,7 +496,7 @@ export default { ...@@ -497,7 +496,7 @@ export default {
}, },
//跳转到搜索页面 //跳转到搜索页面
goSearchHandler(val='') { goSearchHandler(val='') {
console.log(val) console.log('跳转到搜索页面', val)
if(val!='' && typeof val == 'string'){ if(val!='' && typeof val == 'string'){
this.searchKey=val this.searchKey=val
this.historys=Array.from(new Set([this.searchKey].concat(this.historys))) this.historys=Array.from(new Set([this.searchKey].concat(this.historys)))
......
...@@ -147,7 +147,10 @@ export default { ...@@ -147,7 +147,10 @@ export default {
changeWechat() { changeWechat() {
const { AppID, State, OpenRedirectUri } = this.openInfo; const { AppID, State, OpenRedirectUri } = this.openInfo;
let redirect_uri = OpenRedirectUri; let redirect_uri = OpenRedirectUri;
const url = `https://open.weixin.qq.com/connect/qrconnect?appid=${AppID}&redirect_uri=${encodeURIComponent(`${redirect_uri}/#/loginInfo`)}&response_type=code&scope=snsapi_login&state=${State}&wechat_redirect=${redirect_uri}`; console.log('${redirect_uri}/#/loginInfo',`${redirect_uri}/#/loginInfo`)
const url = `https://open.weixin.qq.com/connect/qrconnect?appid=${AppID}&redirect_uri=${encodeURIComponent(`http://www.oytour.com/#/loginInfo`)}&response_type=code&scope=snsapi_login&state=${State}&wechat_redirect=${redirect_uri}`;
console.log('${redirect_uri}/#/loginInfo',`${redirect_uri}/#/loginInfo`, url)
window.location.href = url; window.location.href = url;
}, },
changeEmail() { changeEmail() {
......
This diff is collapsed.
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