This commit is contained in:
duanxiaohai 2024-09-14 10:41:46 +08:00
commit 772dad5a10
8 changed files with 5 additions and 11 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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