@yoooloo42/joker 1.0.199 → 1.0.201
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 +10 -21
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +10 -21
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -2
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import router from '@/router';
|
|
2
1
|
import { ElMessageBox, ElMessage } from 'element-plus';
|
|
3
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';
|
|
4
3
|
|
|
@@ -22071,7 +22070,10 @@ function ly0sessionClear() {
|
|
|
22071
22070
|
}
|
|
22072
22071
|
|
|
22073
22072
|
// session丢失
|
|
22074
|
-
function ly0sessionLose() {
|
|
22073
|
+
function ly0sessionLose(_ref4) {
|
|
22074
|
+
let {
|
|
22075
|
+
router
|
|
22076
|
+
} = _ref4;
|
|
22075
22077
|
let ly0session = ly0sessionLoad(),
|
|
22076
22078
|
lose = false,
|
|
22077
22079
|
route = '';
|
|
@@ -22095,7 +22097,11 @@ function ly0sessionLose() {
|
|
|
22095
22097
|
}
|
|
22096
22098
|
|
|
22097
22099
|
// session丢失
|
|
22098
|
-
function ly0sessionLoseWithUsertbl(
|
|
22100
|
+
function ly0sessionLoseWithUsertbl(_ref5) {
|
|
22101
|
+
let {
|
|
22102
|
+
router,
|
|
22103
|
+
usertbl
|
|
22104
|
+
} = _ref5;
|
|
22099
22105
|
let ly0session = ly0sessionLoad(),
|
|
22100
22106
|
lose = false,
|
|
22101
22107
|
route = '';
|
|
@@ -22117,22 +22123,6 @@ function ly0sessionLoseWithUsertbl(usertbl) {
|
|
|
22117
22123
|
}
|
|
22118
22124
|
return lose;
|
|
22119
22125
|
}
|
|
22120
|
-
function navigate(_ref4) {
|
|
22121
|
-
let {
|
|
22122
|
-
code = '1',
|
|
22123
|
-
path
|
|
22124
|
-
} = _ref4;
|
|
22125
|
-
if (code === '0') {
|
|
22126
|
-
// 外部链接
|
|
22127
|
-
window.location.href = path;
|
|
22128
|
-
} else if (code === '1') {
|
|
22129
|
-
// VUE路由
|
|
22130
|
-
router.push(path);
|
|
22131
|
-
} else {
|
|
22132
|
-
// 默认VUE路由
|
|
22133
|
-
router.push(path);
|
|
22134
|
-
}
|
|
22135
|
-
}
|
|
22136
22126
|
var ly0request = {
|
|
22137
22127
|
domain: domainPara,
|
|
22138
22128
|
upload: upload$1,
|
|
@@ -22145,8 +22135,7 @@ var ly0request = {
|
|
|
22145
22135
|
ly0sessionLoad,
|
|
22146
22136
|
ly0sessionClear,
|
|
22147
22137
|
ly0sessionLose,
|
|
22148
|
-
ly0sessionLoseWithUsertbl
|
|
22149
|
-
navigate
|
|
22138
|
+
ly0sessionLoseWithUsertbl
|
|
22150
22139
|
};
|
|
22151
22140
|
|
|
22152
22141
|
var request = {
|