mirror of
https://gitee.com/dromara/go-view.git
synced 2026-07-21 14:41:07 +08:00
Compare commits
3 Commits
48e63b677f
...
0fb8b3adf6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0fb8b3adf6 | ||
|
|
d60a1fd979 | ||
|
|
0866ceccac |
@ -25,7 +25,7 @@ export const isDev = () => {
|
||||
* @param { Number } randomLength
|
||||
*/
|
||||
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>
|
||||
<div
|
||||
class="chart-item"
|
||||
:id="item.id"
|
||||
v-for="(item, index) in chartEditStore.componentList"
|
||||
:class="animationsClass(item.styles.animations)"
|
||||
:key="item.id"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user