From 8580ef310f61f4bc275c19ddcc6ebd2135720d4a Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期一, 08 七月 2024 10:19:42 +0800
Subject: [PATCH] update合伙人加价配置
---
App.vue | 25 ++++++++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)
diff --git a/App.vue b/App.vue
index e9c7d94..03bc17e 100644
--- a/App.vue
+++ b/App.vue
@@ -40,9 +40,25 @@
const res = await this.$store.dispatch('getCurrentInfo');
// console.log('init info',res,this.currentInfo)
if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) {
+
uni.reLaunch({
- url: '/pages/home/farmer-home'
+ url: '/pages/home/supplier-home'
})
+ }
+ }, 200);
+ } else {
+
+ }
+ // #endif
+ // #ifdef H5
+ if (true && storage.getItem('token')) {
+ setTimeout(async () => {
+ const res = await this.$store.dispatch('getCurrentInfo');
+ // console.log('init info',res,this.currentInfo)
+ if (this.currentInfo && this.currentInfo.id && !this.currentInfo.openId) {
+ // uni.reLaunch({
+ // url: '/pages/home/supplier-home'
+ // })
}
}, 200);
} else {
@@ -66,8 +82,14 @@
</script>
<style lang="scss">
+
/*每个页面公共css */
@import '@/uni_modules/uni-scss/index.scss';
+ /* uni.scss */
+
+ // @import "@/uni_modules/uview-plus/index.scss";
+ @import "uview-ui/index.scss";
+
/* #ifndef APP-NVUE */
@import '@/static/customicons.css';
@@ -78,6 +100,7 @@
@import '@/common/self.scss';
@import '@/common/icons.scss';
+ @import '@/common/global.scss';
/* #endif */
.example-info {
--
Gitblit v1.9.3