Merge branch 'abp' of https://gitee.com/ccnetcore/Yi into abp
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# 接口前缀
|
||||
VITE_APP_BASEAPI="/api-dev"
|
||||
#VITE_APP_URL="http://123.207.63.87:19001/api/app"
|
||||
VITE_APP_URL="http://localhost:19001/api/app"
|
||||
VITE_APP_URL="http://123.207.63.87:19001/api/app"
|
||||
# VITE_APP_URL="http://localhost:19001/api/app"
|
||||
VITE_APP_ENV_NAME = "dev"
|
||||
@@ -140,11 +140,16 @@ onMounted(async () => {
|
||||
weekList.value = weekData;
|
||||
});
|
||||
|
||||
const weekXAxis = ["周一", "周二", "周三", "周四", "周五", "周六", "周日"];
|
||||
// 访问统计
|
||||
const statisOptions = computed(() => {
|
||||
return {
|
||||
xAxis: {
|
||||
data: weekList.value.map((item) => item.creationTime),
|
||||
data: weekList.value.map((item, index) => {
|
||||
return weekXAxis.filter((v, vIndex) => {
|
||||
return vIndex === index;
|
||||
})[0];
|
||||
}),
|
||||
},
|
||||
series: {
|
||||
data: weekList.value.map((item) => item.number),
|
||||
|
||||
@@ -10,7 +10,7 @@ export const statisticsEcharts = {
|
||||
trigger: "axis",
|
||||
},
|
||||
xAxis: {
|
||||
show: false,
|
||||
show: true,
|
||||
type: "category",
|
||||
data: [],
|
||||
axisLine: {
|
||||
|
||||
Reference in New Issue
Block a user