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.

15 lines
378 B

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. // 异步方法
  2. import { servers } from '../js/server';
  3. import { API } from '../js/api';
  4. export default {
  5. getBrandInfo({commit, state}){
  6. return servers.get({
  7. url: API.calc,
  8. data: {},
  9. failMsg: '加载数据失败!'
  10. })
  11. .then(res=>{
  12. commit('setBrandInfo',res);
  13. return res;
  14. })
  15. }
  16. }