|
@@ -174,6 +174,7 @@
|
|
|
<script setup>
|
|
|
import { onLoad, onShow, onHide, onLaunch, onReady } from "@dcloudio/uni-app";
|
|
|
import { ref, onMounted, inject, shallowRef, reactive, toRefs, getCurrentInstance } from "vue";
|
|
|
+import { getToken } from "@/utils/auth";
|
|
|
|
|
|
import publicStore from "@/store/modules/public.js";
|
|
|
|
|
@@ -867,6 +868,10 @@ onLoad((options) => {
|
|
|
|
|
|
form.value.baseBuildList.push(baseBuildListForm.value);
|
|
|
rules.value.baseBuildList.push(baseBuildListRules.value);
|
|
|
+
|
|
|
+ if (!getToken()) {
|
|
|
+ document.getElementsByClassName("uni-page-head-hd")[0].style.cssText = "display: none;";
|
|
|
+ }
|
|
|
});
|
|
|
</script>
|
|
|
|