mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 新增图表居中拖拽
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { nextTick } from 'vue'
|
||||
import { icon } from '@/plugins'
|
||||
import { DialogEnum } from '@/enums/pluginEnum'
|
||||
import { dialogIconSize } from '@/settings/designSetting'
|
||||
@@ -6,6 +7,25 @@ import { DialogReactive } from 'naive-ui'
|
||||
const { InformationCircleIcon } = icon.ionicons5
|
||||
import { renderIcon } from '@/utils'
|
||||
|
||||
// * 开启加载
|
||||
export const loadingStart = () => {
|
||||
window['$loading'].start()
|
||||
}
|
||||
|
||||
// * 加载结束
|
||||
export const loadingFinish = () => {
|
||||
setTimeout(() => {
|
||||
window['$loading'].finish()
|
||||
})
|
||||
}
|
||||
|
||||
// * 加载错误
|
||||
export const loadingError = () => {
|
||||
setTimeout(() => {
|
||||
window['$loading'].error()
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* * render 对话框
|
||||
* @param { Object} params 配置参数
|
||||
|
||||
Reference in New Issue
Block a user