Commit 3efdcf9f authored by 张俊's avatar 张俊

uuid

parent 4291dc94
......@@ -3,7 +3,7 @@
</template>
<script>
import uuidv1 from "uuid/v1";
import { v4 as uuidv4 } from 'uuid';
var echarts = require("echarts");
export default {
props: {
......@@ -29,7 +29,7 @@ export default {
components: {},
data() {
return {
yylx_asy: uuidv1()
yylx_asy: uuidv4()
};
},
watch: {
......
......@@ -3,7 +3,7 @@
</template>
<script>
import uuidv1 from "uuid/v1";
import { v4 as uuidv4 } from 'uuid';
var echarts = require("echarts");
export default {
props: {
......@@ -45,7 +45,7 @@ export default {
components: {},
data() {
return {
line: uuidv1()
line: uuidv4()
};
},
watch: {
......
......@@ -3,7 +3,7 @@
</template>
<script>
import uuidv1 from "uuid/v1";
import { v4 as uuidv4 } from 'uuid';
var echarts = require("echarts");
export default {
props: {
......@@ -41,7 +41,7 @@ export default {
components: {},
data() {
return {
yylx_asy: uuidv1(),
yylx_asy: uuidv4(),
};
},
watch: {
......
......@@ -3,7 +3,7 @@
</template>
<script>
import uuidv1 from "uuid/v1";
import { v4 as uuidv4 } from 'uuid';
var echarts = require("echarts");
export default {
props: {
......@@ -21,7 +21,7 @@ export default {
components: {},
data() {
return {
health: uuidv1(),
health: uuidv4(),
};
},
watch: {
......
......@@ -342,7 +342,7 @@
</template>
<script>
import uuidv1 from "uuid/v1";
import { v4 as uuidv4 } from 'uuid';
import tableUm from "@/components/table/table-um";
import ListPagination from "@/components/comments-pagination";
import helper from "@/services/helper.js";
......@@ -384,11 +384,11 @@ export default {
now_app: 0,
now_online:-1,
manage_flag: false,
health: uuidv1(),
yy_asy: uuidv1(),
fwyy: uuidv1(),
fwlx_asy: uuidv1(),
yylx_asy: uuidv1(),
health: uuidv4(),
yy_asy: uuidv4(),
fwyy: uuidv4(),
fwlx_asy: uuidv4(),
yylx_asy: uuidv4(),
now_chart:0,
cpu_data:{
data: 0,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment