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

uuid

parent 4291dc94
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import uuidv1 from "uuid/v1"; import { v4 as uuidv4 } from 'uuid';
var echarts = require("echarts"); var echarts = require("echarts");
export default { export default {
props: { props: {
...@@ -29,7 +29,7 @@ export default { ...@@ -29,7 +29,7 @@ export default {
components: {}, components: {},
data() { data() {
return { return {
yylx_asy: uuidv1() yylx_asy: uuidv4()
}; };
}, },
watch: { watch: {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import uuidv1 from "uuid/v1"; import { v4 as uuidv4 } from 'uuid';
var echarts = require("echarts"); var echarts = require("echarts");
export default { export default {
props: { props: {
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
components: {}, components: {},
data() { data() {
return { return {
line: uuidv1() line: uuidv4()
}; };
}, },
watch: { watch: {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import uuidv1 from "uuid/v1"; import { v4 as uuidv4 } from 'uuid';
var echarts = require("echarts"); var echarts = require("echarts");
export default { export default {
props: { props: {
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
components: {}, components: {},
data() { data() {
return { return {
yylx_asy: uuidv1(), yylx_asy: uuidv4(),
}; };
}, },
watch: { watch: {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
</template> </template>
<script> <script>
import uuidv1 from "uuid/v1"; import { v4 as uuidv4 } from 'uuid';
var echarts = require("echarts"); var echarts = require("echarts");
export default { export default {
props: { props: {
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
components: {}, components: {},
data() { data() {
return { return {
health: uuidv1(), health: uuidv4(),
}; };
}, },
watch: { watch: {
......
...@@ -342,7 +342,7 @@ ...@@ -342,7 +342,7 @@
</template> </template>
<script> <script>
import uuidv1 from "uuid/v1"; import { v4 as uuidv4 } from 'uuid';
import tableUm from "@/components/table/table-um"; import tableUm from "@/components/table/table-um";
import ListPagination from "@/components/comments-pagination"; import ListPagination from "@/components/comments-pagination";
import helper from "@/services/helper.js"; import helper from "@/services/helper.js";
...@@ -384,11 +384,11 @@ export default { ...@@ -384,11 +384,11 @@ export default {
now_app: 0, now_app: 0,
now_online:-1, now_online:-1,
manage_flag: false, manage_flag: false,
health: uuidv1(), health: uuidv4(),
yy_asy: uuidv1(), yy_asy: uuidv4(),
fwyy: uuidv1(), fwyy: uuidv4(),
fwlx_asy: uuidv1(), fwlx_asy: uuidv4(),
yylx_asy: uuidv1(), yylx_asy: uuidv4(),
now_chart:0, now_chart:0,
cpu_data:{ cpu_data:{
data: 0, 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