Compare commits

...

2 Commits

Author SHA1 Message Date
373f1a4f2b Merge branch 'master' of http://172.16.100.91:3000/xuminyi/store-management-app 2024-10-21 14:42:31 +08:00
391430e15c fix 2024-10-21 14:41:58 +08:00
3 changed files with 5 additions and 7 deletions

View File

@ -1,11 +1,12 @@
<script>
export default {
onLaunch: function () {
console.log("App Launch");
},
onLaunch: function () {},
onShow: function () {
console.log("App Show");
console.log(window.location.href);
const token = window?.plus?.storage.getItem("token");
if (token) {
document.querySelector(".uni-page-head-hd").style.display = "none";
}
},
onHide: function () {
console.log("App Hide");

View File

@ -14,7 +14,6 @@
"style": {
"navigationBarTitleText": "登录",
"enablePullDownRefresh": false
}
},
{
@ -22,7 +21,6 @@
"style": {
"navigationBarTitleText": "添加画作",
"enablePullDownRefresh": false
}
},
{

View File

@ -122,7 +122,6 @@ onLoad((options) => {
state.pid = options.pid;
const token =
window?.plus?.storage.getItem("token") || uni.getStorageSync("token");
const userInfo = uni.getStorageSync("userInfo");
console.log("token", token);
//
if (token) {