no message

Former-commit-id: d77992047fa441f98aff56959d010cc51dcf9a53
Former-commit-id: d96bb7c4d4fcc4de24ee420762766f723756b694
Former-commit-id: 45c41c3536b9146cf3a16ce84cc5e4b22fad26e6
This commit is contained in:
李杨
2018-03-02 22:10:40 +08:00
parent b8c9f14dad
commit 1bb99c5eac

View File

@@ -55,7 +55,20 @@ export default {
} }
} }
}, },
// 加载完成后显示提示
mounted () {
this.showInfo()
},
methods: { methods: {
// 显示提示
showInfo () {
this.$notify({
title: '提示',
message: '你可以按住卡片拖拽改变位置;或者在每个卡片的右下角拖动,调整卡片大小',
duration: 10000
})
},
// 测试代码
layoutUpdatedHandler (newLayout) { layoutUpdatedHandler (newLayout) {
console.group('layoutUpdatedHandler') console.group('layoutUpdatedHandler')
newLayout.forEach(e => { newLayout.forEach(e => {