You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
378 B

// 异步方法
import { servers } from '../js/server';
import { API } from '../js/api';
export default {
getBrandInfo({commit, state}){
return servers.get({
url: API.calc,
data: {},
failMsg: '加载数据失败!'
})
.then(res=>{
commit('setBrandInfo',res);
return res;
})
}
}