mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修复微信菜单bug
This commit is contained in:
parent
210a17bcb6
commit
9002337a64
@ -62,7 +62,7 @@ class Menu extends Controller
|
||||
if ($this->request->get('output') === 'json') {
|
||||
$where = [['keys', 'notin', ['subscribe', 'default']], ['status', '=', '1']];
|
||||
$keys = $this->app->db->name('WechatKeys')->where($where)->order('sort desc,id desc')->select();
|
||||
$this->success('获取数据成功!', ['wechat_menud_ata' => sysdata($this->ckey), 'keysdata' => $keys]);
|
||||
$this->success('获取数据成功!', ['menudata' => sysdata($this->ckey), 'keysdata' => $keys]);
|
||||
} else {
|
||||
$this->title = '微信菜单定制';
|
||||
$this->fetch();
|
||||
|
@ -183,6 +183,7 @@
|
||||
$rootScope.$watch('item', function () {
|
||||
if ($rootScope.item.type === 'click') setTimeout(function () {
|
||||
form.render('select');
|
||||
$rootScope.item.key = $('[lay-filter="key"]').val();
|
||||
}, 50)
|
||||
}, true);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user