mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-10-08 18:00:00 +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') {
|
if ($this->request->get('output') === 'json') {
|
||||||
$where = [['keys', 'notin', ['subscribe', 'default']], ['status', '=', '1']];
|
$where = [['keys', 'notin', ['subscribe', 'default']], ['status', '=', '1']];
|
||||||
$keys = $this->app->db->name('WechatKeys')->where($where)->order('sort desc,id desc')->select();
|
$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 {
|
} else {
|
||||||
$this->title = '微信菜单定制';
|
$this->title = '微信菜单定制';
|
||||||
$this->fetch();
|
$this->fetch();
|
||||||
|
@ -183,6 +183,7 @@
|
|||||||
$rootScope.$watch('item', function () {
|
$rootScope.$watch('item', function () {
|
||||||
if ($rootScope.item.type === 'click') setTimeout(function () {
|
if ($rootScope.item.type === 'click') setTimeout(function () {
|
||||||
form.render('select');
|
form.render('select');
|
||||||
|
$rootScope.item.key = $('[lay-filter="key"]').val();
|
||||||
}, 50)
|
}, 50)
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user