fix: 右键菜单z-index问题

This commit is contained in:
xiaoxian521
2021-10-19 18:58:47 +08:00
parent 639a69d579
commit 7013e57d1e
6 changed files with 16 additions and 8 deletions

View File

@@ -1,8 +1,8 @@
import { MockMethod } from "vite-plugin-mock";
// http://mockjs.com/examples.html#Object
const echartsList = (): any => {
const result: any[] = [];
const echartsList = () => {
const result = [];
for (let index = 0; index < 200; index++) {
result.push(["@date", Math.floor(Math.random() * 300)]);
}

View File

@@ -1,8 +1,16 @@
import { MockMethod } from "vite-plugin-mock";
type mapType = {
plateNumber: string;
driver: string;
"orientation|1-360": number;
"lng|113-114.1-10": number;
"lat|34-35.1-10": number;
};
// http://mockjs.com/examples.html#Object
const mapList = (): any => {
const result: any[] = [];
const mapList = (): Array<mapType> => {
const result: Array<mapType> = [];
for (let index = 0; index < 200; index++) {
result.push({
plateNumber: "豫A@natural(11111, 99999)@character('upper')",