|
@@ -34,13 +34,15 @@ instance.interceptors.request.use(
|
|
|
issubmit: (config.url?.endsWith('add') || config.url?.endsWith('edit')) ? '1' : undefined,
|
|
|
},
|
|
|
config.data)
|
|
|
- if(href.includes('manage')) {
|
|
|
- config.data.M5jxrcL = '76D5tE'
|
|
|
- } else if(href.includes('jsd')|| href.includes('xsd')) {
|
|
|
- config.data.M5jxrcL = 'DaKFNRE'
|
|
|
+ if (config.data.M5jxrcL == undefined) {
|
|
|
+ if (href.includes('manage')) {
|
|
|
+ config.data.M5jxrcL = '76D5tE'
|
|
|
+ } else if (href.includes('jsd') || href.includes('xsd')) {
|
|
|
+ config.data.M5jxrcL = 'DaKFNRE'
|
|
|
} else {
|
|
|
- config.data.M5jxrcL = ''
|
|
|
+ config.data.M5jxrcL = ''
|
|
|
}
|
|
|
+ }
|
|
|
}
|
|
|
return config
|
|
|
},
|