闫增涛
2024-05-24 ae0f7db7767d04612203c8c173c7dd9d0c1b7179
src/assets/js/config.js
@@ -3,9 +3,9 @@
export let activeBook = {}; // 资源请求地址
export let goodsStore = "";
// 请求教材配置信息
const getBookConfig = async (bookId) => {
const getBookConfig = async (ctx) => {
  const response = await axios.get(
    resourceCtx + (bookId ? bookId : "1") + "/bookConfig.json"
    ctx + "/bookConfig.json"
  );
  return response.data;
};