mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt wx
This commit is contained in:
parent
adc60fd88f
commit
aad1665932
@ -209,7 +209,7 @@ Volcanos("user", {help: "用户操作", agent: {
|
|||||||
}, msg, can.Option()); can.run(event, cmds, cb, true)
|
}, 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)
|
can.onappend.figure(can, item, target)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -110,6 +110,12 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
|
|||||||
} }) },
|
} }) },
|
||||||
}, function(key, value) { return can.user.agent[key] = value, key }),
|
}, 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) {
|
_time: function(can, target) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user