@netang/quasar 0.0.90 → 0.0.91
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 +6 -6
package/package.json
CHANGED
package/utils/$power.js
CHANGED
|
@@ -931,18 +931,18 @@ async function request(params) {
|
|
|
931
931
|
|
|
932
932
|
query = formatQuery(query, true)
|
|
933
933
|
|
|
934
|
-
// 如果不是禁止添加来源页面参数
|
|
935
|
-
if ($n_get(btnData, 'noFromPageQuery') !== true) {
|
|
936
|
-
// 来源页面是当前路由的完整路径
|
|
937
|
-
query.n_from_page = encodeURIComponent($currentRoute.fullPath)
|
|
938
|
-
}
|
|
939
|
-
|
|
940
934
|
// 如果按钮有标题
|
|
941
935
|
const pageTitle = $n_trimString(o.powerBtn.title)
|
|
942
936
|
if (pageTitle) {
|
|
943
937
|
query.n_page_title = pageTitle
|
|
944
938
|
}
|
|
945
939
|
|
|
940
|
+
// 如果不是禁止添加来源页面参数
|
|
941
|
+
if ($n_get(btnData, 'noFromPageQuery') !== true) {
|
|
942
|
+
// 来源页面是当前路由的完整路径
|
|
943
|
+
query.n_from_page = encodeURIComponent($currentRoute.fullPath)
|
|
944
|
+
}
|
|
945
|
+
|
|
946
946
|
// 请求前执行
|
|
947
947
|
const resBefore = await $n_runAsync(o.requestBefore)({ params: o, requestData: query })
|
|
948
948
|
if (resBefore !== void 0) {
|