This commit is contained in:
张成
2025-10-09 23:13:42 +08:00
parent f91206702b
commit 1d3eb75c64
28 changed files with 118 additions and 832 deletions

View File

@@ -273,23 +273,23 @@ export default {
methods: {
example() {
// 成功提示
this.$uiTool.success('操作成功')
this.$ window.framework.uiTool.success('操作成功')
// 错误提示
this.$uiTool.error('操作失败')
this.$ window.framework.uiTool.error('操作失败')
// 警告提示
this.$uiTool.warning('警告信息')
this.$ window.framework.uiTool.warning('警告信息')
// 确认对话框
this.$uiTool.confirm('确定删除吗?').then(() => {
this.$ window.framework.uiTool.confirm('确定删除吗?').then(() => {
// 确认后的操作
}).catch(() => {
// 取消后的操作
})
// Loading
const loading = this.$uiTool.loading('加载中...')
const loading = this.$ window.framework.uiTool.loading('加载中...')
setTimeout(() => loading.close(), 2000)
}
}