This commit is contained in:
姚宇浩 2024-09-14 10:36:54 +08:00
parent f0a3e5645b
commit ca3381761d
8 changed files with 5 additions and 11 deletions

View File

@ -1062,7 +1062,6 @@ const getData = async () => {
}; };
onMounted(() => { onMounted(() => {
// tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
startAutoSwitching(); startAutoSwitching();
}); });

View File

@ -1041,7 +1041,6 @@ watch(
} }
); );
onMounted(() => { onMounted(() => {
// tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
if (routers.query.type) { if (routers.query.type) {
errorMessage.value = ""; errorMessage.value = "";
dataMyTag.identNo = routers.query.identNo; dataMyTag.identNo = routers.query.identNo;

View File

@ -1043,7 +1043,7 @@ const data = reactive({
], ],
whsyList: [ whsyList: [
{ {
name: "公共图书馆(南孔书)", name: "公共图书馆(南孔书)",
value: "198", value: "198",
dw: "家", dw: "家",
}, },
@ -1831,7 +1831,8 @@ const autoScroll = () => {
} }
}; };
onBeforeMount(async () => { onBeforeMount(async () => {
// tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); document.cookie='lytoken=6b0e380b4a8f46baae4923f83faf670d'
tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
getData(); getData();
getfw(); getfw();
setTimeout(() => { setTimeout(() => {

View File

@ -2733,7 +2733,6 @@ const rowState = (row) => {
} }
}; };
onMounted(() => { onMounted(() => {
tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
if (routers.query.name) { if (routers.query.name) {
data.name = routers.query.name; data.name = routers.query.name;
listAssignment(); listAssignment();

View File

@ -4057,7 +4057,6 @@ const reset_font2 = () => {
"scale(" + width / 1920 + "," + height / 1080 + ")"; "scale(" + width / 1920 + "," + height / 1080 + ")";
}; };
onMounted(async () => { onMounted(async () => {
tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
loadingss.value = true; loadingss.value = true;
reset_font(); reset_font();
await getXzsj(); await getXzsj();

View File

@ -1802,7 +1802,6 @@ const reset_font = () => {
} }
}; };
onMounted(async () => { onMounted(async () => {
// tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
loadingss.value = true; loadingss.value = true;
reset_font(); reset_font();
await getXzsj(); await getXzsj();

View File

@ -680,8 +680,6 @@ const sevenYX = (name) => {
}; };
onMounted(() => { onMounted(() => {
tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
if (localStorage.getItem("taps1")) { if (localStorage.getItem("taps1")) {
data.tapbody = JSON.parse(localStorage.getItem("taps1")); data.tapbody = JSON.parse(localStorage.getItem("taps1"));
data.taps = localStorage.getItem("taps"); data.taps = localStorage.getItem("taps");

View File

@ -15,8 +15,8 @@ export default defineConfig({
// 第一个代理 // 第一个代理
"/api": { "/api": {
// 匹配到啥来进行方向代理 // 匹配到啥来进行方向代理
// target: "http://10.0.0.65:8095/", //刘进 target: "http://10.0.0.65:8095/", //刘进
target: "http://220.191.238.50:996/", //线上 // target: "http://220.191.238.50:996/", //线上
changeOrigin: true, //是否支持跨域 changeOrigin: true, //是否支持跨域
//rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个 //rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个
}, },