Compare commits

...

2 Commits

  1. 5
      src/layout/studyPage.vue

@ -22,7 +22,9 @@
<div <div
class="box" class="box"
:style="{ :style="{
backgroundImage: isBox2Clicked ? `url(${btn1})` : `url(${btn2})`, backgroundImage: complete
? `url(${btn1})`
: `url(${btn2})`,
}" }"
@click="handleBoxClick(2)" @click="handleBoxClick(2)"
> >
@ -99,6 +101,7 @@ import { ElMessage, ElMessageBox } from "element-plus";
const isShowExperiment = const isShowExperiment =
Number(localStorage.getItem("activeStepIndex")) == 12 ? true : false; Number(localStorage.getItem("activeStepIndex")) == 12 ? true : false;
const router = useRouter(); const router = useRouter();
const complete = localStorage.getItem('complete')
const user = userStore(); const user = userStore();
const loginFn = () => { const loginFn = () => {
// user.token ? router.push("/spacePage") : ""; // user.token ? router.push("/spacePage") : "";

Loading…
Cancel
Save