@yoooloo42/joker 1.0.197 → 1.0.198
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/dist/index.cjs.js +2 -88
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -88
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { inject, ref, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, unref, reactive, computed, resolveComponent, createBlock, withCtx, renderList, createTextVNode, createVNode, isRef, defineComponent, h, onMounted, onBeforeUnmount, watch, nextTick as nextTick$1, resolveDirective, withDirectives } from 'vue';
|
|
2
1
|
import { ElMessageBox, ElMessage } from 'element-plus';
|
|
2
|
+
import { ref, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, unref, reactive, computed, resolveComponent, createBlock, withCtx, renderList, createTextVNode, createVNode, isRef, defineComponent, h, onMounted, onBeforeUnmount, watch, nextTick as nextTick$1, resolveDirective, withDirectives } from 'vue';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
5
5
|
m.forEach(function (e) {
|
|
@@ -21957,68 +21957,6 @@ const {
|
|
|
21957
21957
|
mergeConfig
|
|
21958
21958
|
} = axios;
|
|
21959
21959
|
|
|
21960
|
-
/*!
|
|
21961
|
-
* vue-router v4.6.4
|
|
21962
|
-
* (c) 2025 Eduardo San Martin Morote
|
|
21963
|
-
* @license MIT
|
|
21964
|
-
*/
|
|
21965
|
-
Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
|
|
21966
|
-
|
|
21967
|
-
//#endregion
|
|
21968
|
-
//#region src/injectionSymbols.ts
|
|
21969
|
-
/**
|
|
21970
|
-
* RouteRecord being rendered by the closest ancestor Router View. Used for
|
|
21971
|
-
* `onBeforeRouteUpdate` and `onBeforeRouteLeave`. rvlm stands for Router View
|
|
21972
|
-
* Location Matched
|
|
21973
|
-
*
|
|
21974
|
-
* @internal
|
|
21975
|
-
*/
|
|
21976
|
-
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
21977
|
-
/**
|
|
21978
|
-
* Allows overriding the router view depth to control which component in
|
|
21979
|
-
* `matched` is rendered. rvd stands for Router View Depth
|
|
21980
|
-
*
|
|
21981
|
-
* @internal
|
|
21982
|
-
*/
|
|
21983
|
-
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
21984
|
-
/**
|
|
21985
|
-
* Allows overriding the router instance returned by `useRouter` in tests. r
|
|
21986
|
-
* stands for router
|
|
21987
|
-
*
|
|
21988
|
-
* @internal
|
|
21989
|
-
*/
|
|
21990
|
-
const routerKey = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
|
|
21991
|
-
/**
|
|
21992
|
-
* Allows overriding the current route returned by `useRoute` in tests. rl
|
|
21993
|
-
* stands for route location
|
|
21994
|
-
*
|
|
21995
|
-
* @internal
|
|
21996
|
-
*/
|
|
21997
|
-
Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
21998
|
-
/**
|
|
21999
|
-
* Allows overriding the current route used by router-view. Internally this is
|
|
22000
|
-
* used when the `route` prop is passed.
|
|
22001
|
-
*
|
|
22002
|
-
* @internal
|
|
22003
|
-
*/
|
|
22004
|
-
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
22005
|
-
|
|
22006
|
-
/*!
|
|
22007
|
-
* vue-router v4.6.4
|
|
22008
|
-
* (c) 2025 Eduardo San Martin Morote
|
|
22009
|
-
* @license MIT
|
|
22010
|
-
*/
|
|
22011
|
-
|
|
22012
|
-
//#endregion
|
|
22013
|
-
//#region src/useApi.ts
|
|
22014
|
-
/**
|
|
22015
|
-
* Returns the router instance. Equivalent to using `$router` inside
|
|
22016
|
-
* templates.
|
|
22017
|
-
*/
|
|
22018
|
-
function useRouter() {
|
|
22019
|
-
return inject(routerKey);
|
|
22020
|
-
}
|
|
22021
|
-
|
|
22022
21960
|
const domainPara = 'http://127.0.0.1:443';
|
|
22023
21961
|
const upload$1 = '/ly0/upload-req/file';
|
|
22024
21962
|
const upload_image = '/ly0/upload-req/image';
|
|
@@ -22177,29 +22115,6 @@ function ly0sessionLoseWithUsertbl(usertbl) {
|
|
|
22177
22115
|
}
|
|
22178
22116
|
return lose;
|
|
22179
22117
|
}
|
|
22180
|
-
|
|
22181
|
-
// 导航(路由跳转)
|
|
22182
|
-
function navigate() {
|
|
22183
|
-
const router = useRouter();
|
|
22184
|
-
const navigate = _ref4 => {
|
|
22185
|
-
let {
|
|
22186
|
-
code = '1',
|
|
22187
|
-
// 路由跳转类型
|
|
22188
|
-
path // 路由地址
|
|
22189
|
-
} = _ref4;
|
|
22190
|
-
if (code === '0') {
|
|
22191
|
-
window.location.href = path;
|
|
22192
|
-
} else if (code === '1') {
|
|
22193
|
-
router.push(path);
|
|
22194
|
-
} else {
|
|
22195
|
-
// 默认 code === '1'
|
|
22196
|
-
router.push(path);
|
|
22197
|
-
}
|
|
22198
|
-
};
|
|
22199
|
-
return {
|
|
22200
|
-
navigate
|
|
22201
|
-
};
|
|
22202
|
-
}
|
|
22203
22118
|
var ly0request = {
|
|
22204
22119
|
domain: domainPara,
|
|
22205
22120
|
upload: upload$1,
|
|
@@ -22212,8 +22127,7 @@ var ly0request = {
|
|
|
22212
22127
|
ly0sessionLoad,
|
|
22213
22128
|
ly0sessionClear,
|
|
22214
22129
|
ly0sessionLose,
|
|
22215
|
-
ly0sessionLoseWithUsertbl
|
|
22216
|
-
navigate
|
|
22130
|
+
ly0sessionLoseWithUsertbl
|
|
22217
22131
|
};
|
|
22218
22132
|
|
|
22219
22133
|
var request = {
|