Compare commits
No commits in common. "85cc0c4c43f0680b6714ea895a2b949ada686ee8" and "bb4400196115ce3caa7837887e57134b7068b7a4" have entirely different histories.
85cc0c4c43
...
bb44001961
@ -12,45 +12,45 @@ const show = ref(false);
|
|||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
chartContainer.value.classList.add("h-full");
|
chartContainer.value.classList.add("h-full");
|
||||||
const d = loadData(store.data2.lineSevenDayLogList);
|
// const d = loadData(store.data2.lineSevenDayLogList);
|
||||||
// const d = loadData([
|
const d = loadData([
|
||||||
// {
|
{
|
||||||
// data: [
|
data: [
|
||||||
// { day: "10-10", num: Math.floor(Math.random() * 500) },
|
{ day: "10-10", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-11", num: Math.floor(Math.random() * 500) },
|
{ day: "10-11", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-12", num: Math.floor(Math.random() * 500) },
|
{ day: "10-12", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-13", num: Math.floor(Math.random() * 500) },
|
{ day: "10-13", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-14", num: Math.floor(Math.random() * 500) },
|
{ day: "10-14", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-15", num: Math.floor(Math.random() * 500) },
|
{ day: "10-15", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-16", num: Math.floor(Math.random() * 500) },
|
{ day: "10-16", num: Math.floor(Math.random() * 500) },
|
||||||
// ],
|
],
|
||||||
// name: "钢一线",
|
name: "钢一线",
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// data: [
|
data: [
|
||||||
// { day: "10-10", num: Math.floor(Math.random() * 500) },
|
{ day: "10-10", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-11", num: Math.floor(Math.random() * 500) },
|
{ day: "10-11", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-12", num: Math.floor(Math.random() * 500) },
|
{ day: "10-12", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-13", num: Math.floor(Math.random() * 500) },
|
{ day: "10-13", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-14", num: Math.floor(Math.random() * 500) },
|
{ day: "10-14", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-15", num: Math.floor(Math.random() * 500) },
|
{ day: "10-15", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-16", num: Math.floor(Math.random() * 500) },
|
{ day: "10-16", num: Math.floor(Math.random() * 500) },
|
||||||
// ],
|
],
|
||||||
// name: "钢二线",
|
name: "钢二线",
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// data: [
|
data: [
|
||||||
// { day: "10-10", num: Math.floor(Math.random() * 500) },
|
{ day: "10-10", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-11", num: Math.floor(Math.random() * 500) },
|
{ day: "10-11", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-12", num: Math.floor(Math.random() * 500) },
|
{ day: "10-12", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-13", num: Math.floor(Math.random() * 500) },
|
{ day: "10-13", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-14", num: Math.floor(Math.random() * 500) },
|
{ day: "10-14", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-15", num: Math.floor(Math.random() * 500) },
|
{ day: "10-15", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-16", num: Math.floor(Math.random() * 500) },
|
{ day: "10-16", num: Math.floor(Math.random() * 500) },
|
||||||
// ],
|
],
|
||||||
// name: "钢三线",
|
name: "钢三线",
|
||||||
// },
|
},
|
||||||
// ]);
|
]);
|
||||||
if (!d) {
|
if (!d) {
|
||||||
show.value = false;
|
show.value = false;
|
||||||
if (chartInstance.value) {
|
if (chartInstance.value) {
|
||||||
@ -67,45 +67,45 @@ onMounted(() => {
|
|||||||
|
|
||||||
// 订阅
|
// 订阅
|
||||||
store.$subscribe((mutation, state) => {
|
store.$subscribe((mutation, state) => {
|
||||||
const d = loadData(state.data2.lineSevenDayLogList);
|
// const d = loadData(state.data2.lineSevenDayLogList);
|
||||||
// const d = loadData([
|
const d = loadData([
|
||||||
// {
|
{
|
||||||
// data: [
|
data: [
|
||||||
// { day: "10-10", num: Math.floor(Math.random() * 500) },
|
{ day: "10-10", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-11", num: Math.floor(Math.random() * 500) },
|
{ day: "10-11", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-12", num: Math.floor(Math.random() * 500) },
|
{ day: "10-12", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-13", num: Math.floor(Math.random() * 500) },
|
{ day: "10-13", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-14", num: Math.floor(Math.random() * 500) },
|
{ day: "10-14", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-15", num: Math.floor(Math.random() * 500) },
|
{ day: "10-15", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-16", num: Math.floor(Math.random() * 500) },
|
{ day: "10-16", num: Math.floor(Math.random() * 500) },
|
||||||
// ],
|
],
|
||||||
// name: "钢一线",
|
name: "钢一线",
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// data: [
|
data: [
|
||||||
// { day: "10-10", num: Math.floor(Math.random() * 500) },
|
{ day: "10-10", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-11", num: Math.floor(Math.random() * 500) },
|
{ day: "10-11", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-12", num: Math.floor(Math.random() * 500) },
|
{ day: "10-12", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-13", num: Math.floor(Math.random() * 500) },
|
{ day: "10-13", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-14", num: Math.floor(Math.random() * 500) },
|
{ day: "10-14", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-15", num: Math.floor(Math.random() * 500) },
|
{ day: "10-15", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-16", num: Math.floor(Math.random() * 500) },
|
{ day: "10-16", num: Math.floor(Math.random() * 500) },
|
||||||
// ],
|
],
|
||||||
// name: "钢二线",
|
name: "钢二线",
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// data: [
|
data: [
|
||||||
// { day: "10-10", num: Math.floor(Math.random() * 500) },
|
{ day: "10-10", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-11", num: Math.floor(Math.random() * 500) },
|
{ day: "10-11", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-12", num: Math.floor(Math.random() * 500) },
|
{ day: "10-12", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-13", num: Math.floor(Math.random() * 500) },
|
{ day: "10-13", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-14", num: Math.floor(Math.random() * 500) },
|
{ day: "10-14", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-15", num: Math.floor(Math.random() * 500) },
|
{ day: "10-15", num: Math.floor(Math.random() * 500) },
|
||||||
// { day: "10-16", num: Math.floor(Math.random() * 500) },
|
{ day: "10-16", num: Math.floor(Math.random() * 500) },
|
||||||
// ],
|
],
|
||||||
// name: "钢三线",
|
name: "钢三线",
|
||||||
// },
|
},
|
||||||
// ]);
|
]);
|
||||||
if (!d) {
|
if (!d) {
|
||||||
show.value = false;
|
show.value = false;
|
||||||
if (chartInstance.value) {
|
if (chartInstance.value) {
|
||||||
|
1333
src/pages/3D.vue
1333
src/pages/3D.vue
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user