延时loding

that.$store.commit('upLoading',true);
that.$uploader('/recommend/adjust/add', formDate).then((res) => {
                    that.$store.commit('upLoading',false);
                    // console.log('新增res',res);
                    if(res.code == 1){
                    }
                })

你可能感兴趣的:(前端,javascript,vue.js)