提交 32520372 编写于 作者: 刘英杰's avatar 刘英杰

20241206 优化保存

上级 a385baa9
流水线 #31591 已通过 ,包含阶段
in 42 second
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>museum-reservation</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>museum-reservation</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.ed8eaf9d.js></script><script src=./static/js/index.2397f2d0.js></script></body></html> document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.ed8eaf9d.js></script><script src=./static/js/index.cbcc77dc.js></script></body></html>
\ No newline at end of file \ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -18,7 +18,7 @@ export default { ...@@ -18,7 +18,7 @@ export default {
// let testurl = 'http://testdemo.frp.mdxxkj.com/#/ValidateOpenId' // let testurl = 'http://testdemo.frp.mdxxkj.com/#/ValidateOpenId'
let url = `${window.location.protocol+"//"+window.location.host}/museumAppointment/qth5/#/pages/getWechatCallbackCode/index` let url = `${window.location.protocol+"//"+window.location.host}/museumAppointment/qth5/#/pages/getWechatCallbackCode/index`
api.GetAppid().then((resp) => { api.GetAppid().then((resp) => {
// console.log("🚀🚀我请求Appid成功了,",resp) // console.log("🚀🚀我请求Appid成功了�,",resp)
let redirectPath = encodeURIComponent(url) let redirectPath = encodeURIComponent(url)
let path = let path =
"https://open.weixin.qq.com/connect/oauth2/authorize?" + "https://open.weixin.qq.com/connect/oauth2/authorize?" +
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
// let newPath = encodeURI(path) // let newPath = encodeURI(path)
location.replace(path); location.replace(path);
}).catch(error => { }).catch(error => {
this.$toast.fail ("ȡcodeʧ"); this.$toast.fail ("��ȡcodeʧ��");
}); });
}, },
}, },
......
...@@ -21,10 +21,8 @@ export default { ...@@ -21,10 +21,8 @@ export default {
this.init = e this.init = e
}, },
methods: { methods: {
GetWxAppId() { GetWxAppId() {
// let testurl = 'http://testdemo.frp.mdxxkj.com/#/ValidateOpenId' // let testurl = 'http://testdemo.frp.mdxxkj.com/#/ValidateOpenId'
let url = `${window.location.protocol+"//"+window.location.host}/museumAppointment/qth5/#/pages/share/index?appointmentid=${this.init.appointmentid}&type=${this.init.type}` let url = `${window.location.protocol+"//"+window.location.host}/museumAppointment/qth5/#/pages/share/index?appointmentid=${this.init.appointmentid}&type=${this.init.type}`
api.GetAppid().then((resp) => { api.GetAppid().then((resp) => {
let redirectPath = encodeURIComponent(url) let redirectPath = encodeURIComponent(url)
......
...@@ -398,6 +398,8 @@ ...@@ -398,6 +398,8 @@
} }
}, },
async mounted() { async mounted() {
console.log("🚀🚀localStorage.getItem('museumManagementUserInfo')🚀,",JSON.parse(localStorage.getItem('museumManagementUserInfo')).userInfo)
console.log("🚀🚀🚀,",localStorage.getItem('museumManagementUserInfo'))
//获取日期 //获取日期
await api.getDate({type: 0}) await api.getDate({type: 0})
.then(res => { .then(res => {
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或