mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
fix: selector bug
This commit is contained in:
@@ -32,6 +32,7 @@ import { ref, computed, onMounted, inject, nextTick } from "vue";
|
||||
import { deviceDetection } from "../utils/deviceDetection";
|
||||
import { echartsJson } from "../api/mock";
|
||||
import { useEventListener, tryOnUnmounted } from "@vueuse/core";
|
||||
import * as echarts from "echarts";
|
||||
|
||||
let brokenLine: any = null; //折线图实例
|
||||
export default {
|
||||
@@ -43,7 +44,6 @@ export default {
|
||||
let mobile = ref(deviceDetection());
|
||||
let date: Date = new Date();
|
||||
let loading = ref(true);
|
||||
let echarts = inject("echarts"); //引入
|
||||
|
||||
setTimeout(() => {
|
||||
loading.value = !loading.value;
|
||||
|
||||
Reference in New Issue
Block a user