mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 00:02:51 +08:00
Merge branch 'dev'
This commit is contained in:
commit
cb89d78630
@ -25,7 +25,7 @@ export const isDev = () => {
|
|||||||
* @param { Number } randomLength
|
* @param { Number } randomLength
|
||||||
*/
|
*/
|
||||||
export const getUUID = (randomLength = 10) => {
|
export const getUUID = (randomLength = 10) => {
|
||||||
return Number(Math.random().toString().substring(2, randomLength) + Date.now()).toString(36)
|
return 'id_' + Number(Math.random().toString().substring(2, randomLength) + Date.now()).toString(36)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="chart-item"
|
class="chart-item"
|
||||||
|
:id="item.id"
|
||||||
v-for="(item, index) in chartEditStore.componentList"
|
v-for="(item, index) in chartEditStore.componentList"
|
||||||
:class="animationsClass(item.styles.animations)"
|
:class="animationsClass(item.styles.animations)"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
|
Loading…
Reference in New Issue
Block a user