@netang/quasar 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/utils/$power.js +4 -0
package/package.json
CHANGED
package/utils/$power.js
CHANGED
|
@@ -1237,6 +1237,10 @@ async function request(options) {
|
|
|
1237
1237
|
*/
|
|
1238
1238
|
async function onRequest() {
|
|
1239
1239
|
|
|
1240
|
+
if ($n_has(o.powerBtn.data, 'formatRequestData')) {
|
|
1241
|
+
o.powerBtn.data.formatRequestData({ requestData })
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1240
1244
|
// 请求前执行
|
|
1241
1245
|
const resBefore = await $n_runAsync(o.requestBefore)({
|
|
1242
1246
|
options: o,
|