1.0.1 • Published 5 years ago
ane-element-ui v1.0.1
element-ui 一些便捷操作
需要在vue 和 element-ui 之后引入
import 'ane-element-ui'
便捷弹窗
用法
this.$msg({
title: '确认重启',
msg: `你确认要重启服务${name}吗?`,
callBack: () => this.postStackRollback({
teamId,
envId,
stackName,
params: {
stack_ns, name, wise2cServiceType
}
}),
}).then(() => this.reGetStacks(team_id, envId))