Commit b9868c17 authored by wildfirecode13's avatar wildfirecode13

11

parent 37d3b661
......@@ -11,7 +11,7 @@
<script>
// init vConsole
var vConsole = new VConsole();
console.log('Hello world', 334);
console.log('Hello world', 1012);
</script>
<script src="//yun.duiba.com.cn/spark/v2/spark.base.fz.wxpollyfill.js"></script>
......@@ -51,21 +51,21 @@
// console.log(json)
// console.log(document)
var jsonstr = JSON.stringify(json);
console.log(jsonstr)
window.JSInterface.addCalendarEvent(jsonstr);
// console.log(jsonstr)
window.JSInterface&&window.JSInterface.addCalendarEvent(jsonstr);
}
//删除事件
function removeCalendarEvent(json) {
// console.log(json)
var jsonstr = JSON.stringify(json);
window.JSInterface.removeCalendarEvent(jsonstr);
window.JSInterface&&window.JSInterface.removeCalendarEvent(jsonstr);
}
function queryCalendarEvent(json) {
// console.log(json)
var jsonstr = JSON.stringify(json);
window.JSInterface.calendarEventComplete(jsonstr);
window.JSInterface&&window.JSInterface.calendarEventComplete(jsonstr);
}
......
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