Commit 790bbb2d authored by JingChao's avatar JingChao

easyUI

parent 8ffdce05
import Vue from 'vue' import Vue from 'vue'
import { ToastPlugin, AlertPlugin, ConfirmPlugin, LoadingPlugin, DatetimePlugin } from 'vux' import {ToastPlugin, AlertPlugin, ConfirmPlugin, LoadingPlugin, DatetimePlugin} from 'vux'
import { import {ActionSheetPlugin, ShowPicturePlugin, SelectPlugin, NotifyPlugin, HlsModalPlugin, NumberKeyboardPlugin} from 'hls-easy-ui'
ActionSheetPlugin,
ShowPicturePlugin,
SelectPlugin,
NotifyPlugin,
HlsModalPlugin,
NumberKeyboardPlugin
} from 'hls-easy-ui'
Vue.use(ToastPlugin) Vue.use(ToastPlugin)
Vue.use(AlertPlugin) Vue.use(AlertPlugin)
Vue.use(ConfirmPlugin) Vue.use(ConfirmPlugin)
...@@ -42,6 +34,14 @@ export default { ...@@ -42,6 +34,14 @@ export default {
if (vm.isLoading) { if (vm.isLoading) {
Vue.$vux.loading.hide() Vue.$vux.loading.hide()
vm.isLoading = false vm.isLoading = false
// 弹出操作失败
/* Vue.$vux.toast.show({
text: '操作失败',
type: 'warn',
time: vm.SHOW_TIMES,
isShowMask: vm.IS_SHOW_MASK,
position: 'middle',
}) */
} }
}, 40000) }, 40000)
}, },
......
...@@ -3843,7 +3843,7 @@ he@1.2.x, he@^1.1.0: ...@@ -3843,7 +3843,7 @@ he@1.2.x, he@^1.1.0:
"hls-easy-ui@https://hel.hand-china.com/easyUI/hls-easy-ui.git": "hls-easy-ui@https://hel.hand-china.com/easyUI/hls-easy-ui.git":
version "0.0.4" version "0.0.4"
resolved "https://hel.hand-china.com/easyUI/hls-easy-ui.git#7ca56cb37c37ae484b74a335962050c7ee355f81" resolved "https://hel.hand-china.com/easyUI/hls-easy-ui.git#f5b2755cd1325d518955723375dad981bbec182e"
dependencies: dependencies:
autosize "^3.0.20" autosize "^3.0.20"
better-scroll "^1.10.3" better-scroll "^1.10.3"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment