标签:import bsp ati div color from class api接口 注册
/** * 使用mockjs来mock数据, 提供mock数据API接口 */ import Mock from ‘mockjs‘ import data from ‘./data.json‘ //注册接口 Mock.mock(‘/api2/goods‘, { // code表示成功 code: 0, data: data.goods }) Mock.mock(‘/api2/ratings‘, { code: 0, data: data.ratings }) Mock.mock(‘/api2/seller‘, { code: 0, data: data.seller }) // 不用export
标签:import bsp ati div color from class api接口 注册
原文地址:https://www.cnblogs.com/zjx304/p/9798744.html