问题修复
This commit is contained in:
@@ -143,6 +143,7 @@ export async function hasPermission(params) {
|
||||
if(loginType=='0'){
|
||||
return true
|
||||
}
|
||||
return true;
|
||||
params = returnFormatParams(params)
|
||||
if (!params) {
|
||||
return infoBox.showToast('未找到相关权限,请检查代码或在权限配置文件commons/utils/hasPermission.js文件进行修改或增加')
|
||||
|
||||
@@ -25,7 +25,7 @@ const model = {
|
||||
|
||||
// error类型的提示
|
||||
showErrorToast: (title, duration) => {
|
||||
return model.showToast(title, duration, {icon: 'error'})
|
||||
return model.showToast(title, duration, {icon: 'none'})
|
||||
},
|
||||
|
||||
showLoading: (title = '请稍后' ) => {
|
||||
|
||||
Reference in New Issue
Block a user