mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
SSR feature
This commit is contained in:
@@ -3,6 +3,7 @@ import { addClass, removeClass } from 'wind-dom/src/class';
|
||||
let Mask = Vue.extend(require('./loading.vue'));
|
||||
|
||||
exports.install = Vue => {
|
||||
if (Vue.prototype.$isServer) return;
|
||||
let toggleLoading = (el, binding) => {
|
||||
if (binding.value) {
|
||||
Vue.nextTick(() => {
|
||||
|
||||
Reference in New Issue
Block a user