mock-store-detail-jsonContent.js 627 Bytes
/**
 * 门店日报 detail mock 联调 — 固定 visibleFormList 形态 jsonContent
 * 小程序不支持 require('.json'),使用同目录 .js 列表模块(由 packageDynamicForm/scripts/sync-store-mock-jsonContent-list.cjs 生成)
 */
const MOCK_STORE_DETAIL_JSON_CONTENT_LIST = require('./mock-store-detail-jsonContent-list.js')

let cachedString

function getMockStoreDetailJsonContentString() {
	if (cachedString == null) {
		cachedString = JSON.stringify(MOCK_STORE_DETAIL_JSON_CONTENT_LIST)
	}
	return cachedString
}

module.exports = {
	getMockStoreDetailJsonContentString,
	MOCK_STORE_DETAIL_JSON_CONTENT_LIST
}