Explorar o código

fix: 修复字段错误

zhangyuhan %!s(int64=2) %!d(string=hai) anos
pai
achega
82ed360d1c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/easy-use-track.js

+ 2 - 2
src/easy-use-track.js

@@ -12,14 +12,14 @@ class EasyUse {
   constructor(options = {}) {
 
     // 默认配置文件、版本号读取
-    const dataSoucre = `/common-module/track/json/${getPlatform() === 'PC' ? 'pc' : 'mobile'}.json`
+    const dataSource = `/common-module/track/json/${getPlatform() === 'PC' ? 'pc' : 'mobile'}.json`
     let version = ''
     if (window.goTemplateData && window.goTemplateData.version) {
       version = window.goTemplateData.version
     }
 
     this.config = Object.assign({
-      dataSoucre,
+      dataSource,
       version
     }, options)
     this.json = []