mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
fix: 状态切换传参
This commit is contained in:
parent
54c0eecb67
commit
0a7e33f50b
@ -86,13 +86,10 @@ export function menusDetailsApi(id) {
|
||||
* @param {Number} param data.is_show {Number} 状态值
|
||||
*/
|
||||
export function isShowApi(data) {
|
||||
let datas = {
|
||||
is_show: data.is_show,
|
||||
};
|
||||
return request({
|
||||
url: `/setting/menus/show/${data.id}`,
|
||||
method: 'put',
|
||||
data: datas,
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user