From 520dea1cba30291e4d00bddc7d697904be548526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=9D=A8?= <1711467488@qq.com> Date: Mon, 26 Feb 2018 20:50:18 +0800 Subject: [PATCH] no message Former-commit-id: 0cd8fa8e6276095acac80cea2474a9a06e77545d Former-commit-id: bd04cd746dd9b8520d0b7c0b23579a9a11e5bea9 Former-commit-id: c5c10a1b0a40206a1016b1166f4130c37fafbc5f --- src/pages/demo/chart/dynamicSize/index.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/pages/demo/chart/dynamicSize/index.vue b/src/pages/demo/chart/dynamicSize/index.vue index 15500918..87e385db 100644 --- a/src/pages/demo/chart/dynamicSize/index.vue +++ b/src/pages/demo/chart/dynamicSize/index.vue @@ -156,7 +156,19 @@ export default { } } }, + mounted () { + // 显示提示 + this.showInfo(); + }, methods: { + // 显示提示 + showInfo () { + this.$notify({ + title: '提示', + message: '你可以按住卡片标题拖拽卡片;或者在每个卡片的右下角拖动,调整大小检查图表自动更新', + duration: 10000 + }) + }, // 图表 mounted isReady (index) { this.chart[index].ready = true