VUE

roleMenu({ commit }, data) {
	return new Promise(resolve => {
		api.post('api/menu/roleMenu', data).then(async res => {
			// console.log(res)
			const data = eachMenu(res.data)
			resolve(data, commit)
		})
	})
}
posted @ 2021-04-23 10:10  夏天的榴莲  阅读(39)  评论(0)    收藏  举报