yc-ui2 0.1.2-beta18 → 0.1.2-beta20
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/yc-ui2.common.js +18 -18
- package/dist/yc-ui2.common.js.map +1 -1
- package/dist/yc-ui2.css +1 -1
- package/dist/yc-ui2.umd.js +18 -18
- package/dist/yc-ui2.umd.js.map +1 -1
- package/dist/yc-ui2.umd.min.js +1 -1
- package/dist/yc-ui2.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/mTokenPlugin/base64.js +148 -0
- package/src/utils/mTokenPlugin/base64_backups.js +146 -0
- package/src/utils/mTokenPlugin/hunca_mToken_core.js +1447 -0
- package/src/utils/mTokenPlugin/hunca_mToken_core2.js +1455 -0
- package/src/utils/mTokenPlugin/hunca_mToken_core_backups.js +1425 -0
- package/src/utils/mTokenPlugin/mToken.js +3211 -0
- package/src/utils/mTokenPlugin/mToken_backups.js +3202 -0
- package/src/utils/mTokenPluginBeijin/formateTime.js +10 -0
- package/src/utils/mTokenPluginBeijin/xtxasyn.js +1156 -0
- package/vue.config.js +1 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
// 过滤时间
|
2
|
+
export function formateTime(dateStr) {
|
3
|
+
let year = dateStr.slice(0, 4);
|
4
|
+
let month = dateStr.slice(4, 6);
|
5
|
+
let date = dateStr.slice(6, 8);
|
6
|
+
let hours = dateStr.slice(8, 10);
|
7
|
+
let minute = dateStr.slice(10, 12);
|
8
|
+
let second = dateStr.slice(12);
|
9
|
+
return `${year}-${month}-${date} ${hours}:${minute}:${second}`;
|
10
|
+
}
|