Commit e9933bd5 authored by rencs's avatar rencs

Merge branch 'dev' into 'master'

Dev

See merge request !35
parents 0c3e3d48 79c3a7c3
...@@ -21,10 +21,8 @@ export default function loadBMap(ak) { ...@@ -21,10 +21,8 @@ export default function loadBMap(ak) {
} }
let script = document.createElement('script') let script = document.createElement('script')
script.type = 'text/javascript' script.type = 'text/javascript'
script.src = script.src = document.location.protocol + '//api.map.baidu.com/api?v=3.0&ak=' + ak + '&callback=onBMapCallback'
'http://api.map.baidu.com/api?v=3.0&ak=' + ak + '&callback=onBMapCallback'
script.onerror = reject script.onerror = reject
document.head.appendChild(script) document.head.appendChild(script)
}) })
} }
\ No newline at end of file
...@@ -443,7 +443,7 @@ ...@@ -443,7 +443,7 @@
getList() { getList() {
let _this = this let _this = this
this.listLoading = true; this.listLoading = true;
if(this.times.length>0){ if(this.times && this.times.length>0){
this.listQuery.startTime = this.times[0] this.listQuery.startTime = this.times[0]
this.listQuery.endTime = this.times[1] this.listQuery.endTime = this.times[1]
} }
......
...@@ -142,7 +142,6 @@ ...@@ -142,7 +142,6 @@
</div> </div>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button>取消</el-button>
<el-button type="primary" @click="onSubmit">确定</el-button> <el-button type="primary" @click="onSubmit">确定</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment