mutations.ts 335 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
import { ViewLoadingService } from 'ibiz-vue';

/**
 * 设置统一资源数据
 * 
 * @param state 
 * @param resourceArray
 */
export const addViewLoadingService = (state: any, viewLoadingService: ViewLoadingService) => {
    if(viewLoadingService){
        return;
    }
    state.viewLoadingServiceList.push(viewLoadingService);
}