mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修复微信菜单小程序二次发布异常
This commit is contained in:
parent
5e69f6ed56
commit
d454f75129
@ -300,12 +300,7 @@
|
||||
var menudata = {};
|
||||
menudata.name = $span.text();
|
||||
menudata.type = $span.attr('data-type');
|
||||
// 小程序要特殊处理
|
||||
if (menudata.type === 'miniprogram') {
|
||||
menudata.content = $span.data('appid') + ',' + $span.data('url') + ',' + $span.data('pagepath');
|
||||
} else {
|
||||
menudata.content = $span.data('content') || '';
|
||||
}
|
||||
menudata.content = $span.data('content') || '';
|
||||
return menudata;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user