@yoooloo42/joker 1.0.183 → 1.0.185
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 +17 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +17 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22007,6 +22007,7 @@ async function ly0request(_ref2) {
|
|
|
22007
22007
|
|
|
22008
22008
|
// session 异常
|
|
22009
22009
|
if (response.data.sessionStatusCode && response.data.sessionStatusCode !== 0) {
|
|
22010
|
+
console.log('ly0session测试 000');
|
|
22010
22011
|
console.log('session异常', response.data.sessionStatusMessage);
|
|
22011
22012
|
const ly0session = ly0sessionLoad();
|
|
22012
22013
|
ly0sessionSave({
|
|
@@ -22015,6 +22016,7 @@ async function ly0request(_ref2) {
|
|
|
22015
22016
|
}
|
|
22016
22017
|
});
|
|
22017
22018
|
ly0sessionLose();
|
|
22019
|
+
console.log('ly0session测试 111');
|
|
22018
22020
|
return {
|
|
22019
22021
|
code: 1,
|
|
22020
22022
|
message: 'session 异常'
|
|
@@ -22052,6 +22054,7 @@ async function storpro(_ref3) {
|
|
|
22052
22054
|
}
|
|
22053
22055
|
}
|
|
22054
22056
|
});
|
|
22057
|
+
console.log('ly0session测试 222');
|
|
22055
22058
|
return result;
|
|
22056
22059
|
} catch (err) {
|
|
22057
22060
|
console.log('错误:', err);
|
|
@@ -22076,10 +22079,12 @@ function ly0sessionClear() {
|
|
|
22076
22079
|
|
|
22077
22080
|
// session丢失
|
|
22078
22081
|
function ly0sessionLose() {
|
|
22082
|
+
console.log('ly0session测试 333');
|
|
22079
22083
|
let ly0session = ly0sessionLoad(),
|
|
22080
22084
|
lose = false,
|
|
22081
22085
|
route = '';
|
|
22082
22086
|
if (!ly0session || !ly0session.session || !ly0session.session.usertbl || !ly0session.session.id_user) {
|
|
22087
|
+
console.log('ly0session测试 444');
|
|
22083
22088
|
lose = true;
|
|
22084
22089
|
switch (ly0session.session.usertbl) {
|
|
22085
22090
|
case 'ly0d0user':
|
|
@@ -22090,7 +22095,9 @@ function ly0sessionLose() {
|
|
|
22090
22095
|
break;
|
|
22091
22096
|
}
|
|
22092
22097
|
}
|
|
22098
|
+
console.log('ly0session测试 555');
|
|
22093
22099
|
if (lose) {
|
|
22100
|
+
console.log('ly0session测试 666');
|
|
22094
22101
|
router.replace({
|
|
22095
22102
|
path: route
|
|
22096
22103
|
});
|
|
@@ -23004,22 +23011,28 @@ function box(item) {
|
|
|
23004
23011
|
|
|
23005
23012
|
// inputType: "text"
|
|
23006
23013
|
function text(item) {
|
|
23007
|
-
|
|
23014
|
+
if (item.cover) {
|
|
23015
|
+
return item.style;
|
|
23016
|
+
}
|
|
23017
|
+
return unclassified.deepClone.deepMerge({
|
|
23008
23018
|
'white-space': 'pre-line',
|
|
23009
23019
|
// 保留换行符
|
|
23010
23020
|
'border-left': '#ababab solid 1px',
|
|
23011
23021
|
'border-top': '#ababab solid 1px',
|
|
23012
23022
|
'padding-left': '10px'
|
|
23013
|
-
};
|
|
23023
|
+
}, item.style);
|
|
23014
23024
|
}
|
|
23015
23025
|
|
|
23016
23026
|
// inputType: "text0"
|
|
23017
23027
|
function text0(item) {
|
|
23018
|
-
|
|
23028
|
+
if (item.cover) {
|
|
23029
|
+
return item.style;
|
|
23030
|
+
}
|
|
23031
|
+
return unclassified.deepClone.deepMerge({
|
|
23019
23032
|
'white-space': 'pre-line',
|
|
23020
23033
|
// 保留换行符
|
|
23021
23034
|
color: 'blue'
|
|
23022
|
-
};
|
|
23035
|
+
}, item.style);
|
|
23023
23036
|
}
|
|
23024
23037
|
|
|
23025
23038
|
// inputType: "input", "select", "date-picker"
|