1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
shylinux 2021-10-20 16:51:26 +08:00
parent adc60fd88f
commit aad1665932
2 changed files with 7 additions and 1 deletions

View File

@ -209,7 +209,7 @@ Volcanos("user", {help: "用户操作", agent: {
}, msg, can.Option()); can.run(event, cmds, cb, true)
}
target.value = target.value||(item.name&&can.Option(item.name))||""
target.value = target.value||msg.Option(item.name)||(item.name&&can.Option(item.name))||""
can.onappend.figure(can, item, target)
}

View File

@ -110,6 +110,12 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
} }) },
}, function(key, value) { return can.user.agent[key] = value, key }),
})
wx.ready(function() {
can.misc.Log("ready")
})
wx.error(function(err) {
can.misc.Log("what", err)
})
}) })
},
_time: function(can, target) {