|
@@ -2,7 +2,22 @@
|
|
|
import { getPatients } from "../../../../pages/home/request";
|
|
import { getPatients } from "../../../../pages/home/request";
|
|
|
import { toCertificationPage } from "../../../../pages/home/router";
|
|
import { toCertificationPage } from "../../../../pages/home/router";
|
|
|
Component({
|
|
Component({
|
|
|
- lifetimes: {},
|
|
|
|
|
|
|
+ lifetimes: {
|
|
|
|
|
+ attached() {
|
|
|
|
|
+ const showGuideActive = wx.getStorageSync("showGuideActive");
|
|
|
|
|
+ // 从主页点击健康评估进来的
|
|
|
|
|
+ if(showGuideActive){
|
|
|
|
|
+ this.handleA();
|
|
|
|
|
+ wx.removeStorageSync("showGuideActive");
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
|
|
+ observers: {
|
|
|
|
|
+ active(newVal,oldVal) {
|
|
|
|
|
+ console.log("active=>>>",newVal,oldVal);
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
properties: {
|
|
properties: {
|
|
|
id: { type: String, value: "" },
|
|
id: { type: String, value: "" },
|
|
|
active: { type: Boolean, value: false },
|
|
active: { type: Boolean, value: false },
|