hookehuyr

✨ feat: 配置全局less样式

...@@ -8,6 +8,8 @@ export {} ...@@ -8,6 +8,8 @@ export {}
8 declare module '@vue/runtime-core' { 8 declare module '@vue/runtime-core' {
9 export interface GlobalComponents { 9 export interface GlobalComponents {
10 NutCol: typeof import('@nutui/nutui-taro')['Col'] 10 NutCol: typeof import('@nutui/nutui-taro')['Col']
11 + NutConfigProvider: typeof import('@nutui/nutui-taro')['ConfigProvider']
12 + NutDialog: typeof import('@nutui/nutui-taro')['Dialog']
11 NutRow: typeof import('@nutui/nutui-taro')['Row'] 13 NutRow: typeof import('@nutui/nutui-taro')['Row']
12 RouterLink: typeof import('vue-router')['RouterLink'] 14 RouterLink: typeof import('vue-router')['RouterLink']
13 RouterView: typeof import('vue-router')['RouterView'] 15 RouterView: typeof import('vue-router')['RouterView']
......
...@@ -11,11 +11,15 @@ module.exports = { ...@@ -11,11 +11,15 @@ module.exports = {
11 target: 'web', 11 target: 'web',
12 // 配置代理,解决跨域问题 12 // 配置代理,解决跨域问题
13 devServer: { 13 devServer: {
14 + host: '0.0.0.0',
14 port: '10086', // 设置端口号 15 port: '10086', // 设置端口号
15 // https: true, //是否使用https协议 16 // https: true, //是否使用https协议
16 open: false, //启动后,使用默认浏览器打开网页 17 open: false, //启动后,使用默认浏览器打开网页
17 - hot: true, //是否启用模块的热替换功能,devServer的默认行为是在发现源代码被变更后,通过自动刷新整个页面来做到事实预览,开启hot后,将在不刷新整个页面的情况下通过新模块替换老模块来做到实时预览。 18 + // hot: true, //是否启用模块的热替换功能,devServer的默认行为是在发现源代码被变更后,通过自动刷新整个页面来做到事实预览,开启hot后,将在不刷新整个页面的情况下通过新模块替换老模块来做到实时预览。
18 proxy: createProxy(PROXY_PREFIX, DEV_PROXY_TARGET), 19 proxy: createProxy(PROXY_PREFIX, DEV_PROXY_TARGET),
20 + // 处理开发者工具报错问题,host没有配置导致
21 + historyApiFallback: true,
22 + allowedHosts: "all",
19 }, 23 },
20 }, 24 },
21 } 25 }
......
1 /* 1 /*
2 * @Date: 2023-03-23 11:17:54 2 * @Date: 2023-03-23 11:17:54
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-03-23 17:55:06 4 + * @LastEditTime: 2023-03-24 10:59:28
5 * @FilePath: /custom_form/config/index.js 5 * @FilePath: /custom_form/config/index.js
6 * @Description: 文件描述 6 * @Description: 文件描述
7 */ 7 */
...@@ -10,6 +10,12 @@ const path = require('path') ...@@ -10,6 +10,12 @@ const path = require('path')
10 import ComponentsPlugin from 'unplugin-vue-components/webpack' 10 import ComponentsPlugin from 'unplugin-vue-components/webpack'
11 import NutUIResolver from '@nutui/nutui-taro/dist/resolver' 11 import NutUIResolver from '@nutui/nutui-taro/dist/resolver'
12 12
13 +const pluginOptions = {
14 + less: {
15 + patterns: [path.resolve(__dirname, '..', 'src/assets/styles/base.less')],
16 + },
17 +}
18 +
13 const config = { 19 const config = {
14 projectName: 'custom_form', 20 projectName: 'custom_form',
15 date: '2023-3-23', 21 date: '2023-3-23',
...@@ -49,6 +55,7 @@ const config = { ...@@ -49,6 +55,7 @@ const config = {
49 enableCookie: true, 55 enableCookie: true,
50 }, 56 },
51 ], 57 ],
58 + ['taro-plugin-style-resource', pluginOptions],
52 ], 59 ],
53 defineConstants: {}, 60 defineConstants: {},
54 copy: { 61 copy: {
...@@ -120,7 +127,7 @@ const config = { ...@@ -120,7 +127,7 @@ const config = {
120 generateScopedName: '[name]__[local]___[hash:base64:5]', 127 generateScopedName: '[name]__[local]___[hash:base64:5]',
121 }, 128 },
122 }, 129 },
123 - } 130 + },
124 }, 131 },
125 } 132 }
126 133
......
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
57 "axios-miniprogram": "^2.0.0-rc-2", 57 "axios-miniprogram": "^2.0.0-rc-2",
58 "dayjs": "^1.11.7", 58 "dayjs": "^1.11.7",
59 "pinia": "^2.0.33", 59 "pinia": "^2.0.33",
60 + "taro-plugin-style-resource": "^0.1.9",
60 "vue": "^3.0.0", 61 "vue": "^3.0.0",
61 "weixin-js-sdk": "^1.6.0" 62 "weixin-js-sdk": "^1.6.0"
62 }, 63 },
......
1 +
2 +.modify-top {
3 + z-index: 36;
4 + position: absolute;
5 + left: 0;
6 + top: 0;
7 + width: 100%;
8 + height: 10px;
9 + background-image: url('http://gyzs.onwall.cn/top-xian%402x.png');
10 + background-size: contain;
11 +}
12 +.content-bg {
13 + /**
14 + * background-color and background-image 共存,不能使用渐变色
15 + * 图片铺平当时精度提高看看效果
16 + * 直接用渐变色
17 + * 不使用渐变色背景
18 + */
19 + height: 100%;
20 + min-height: 100vh;
21 + // background-image: url('@images/bg-yellow-duan@2x.png');
22 + background-image: url('http://gyzs.onwall.cn/bg-yellow-duan%402x.png');
23 + // background-size: cover;
24 + // background: linear-gradient(360deg, #FDD347 0%, #FFED6D 100%) ;
25 +}
1 +@namespace: 'wxggzs';
2 +
3 +/* ============ 颜色 ============ */
4 +
5 +// 主色调
6 +@base-color: #8F652E;
7 +
8 +// 文字颜色
9 +@base-font-color: #333333;
10 +@sub-font-color: #999999;
11 +
12 +// 定义一个映射
13 +#colors() {
14 + base-color: @base-color;
15 + base-font-color: @base-font-color;
16 +}
17 +
18 +// 混合
19 +.width100 {
20 + width: 100%;
21 +}
22 +
23 +.van-multi-ellipsis--l4 {
24 + display: -webkit-box;
25 + overflow: hidden;
26 + text-overflow: ellipsis;
27 + -webkit-line-clamp: 4;
28 + -webkit-box-orient: vertical;
29 +}
30 +
31 +.van-multi-ellipsis--l5 {
32 + display: -webkit-box;
33 + overflow: hidden;
34 + text-overflow: ellipsis;
35 + -webkit-line-clamp: 5;
36 + -webkit-box-orient: vertical;
37 +}
38 +
39 +.van-multi-ellipsis--l6 {
40 + display: -webkit-box;
41 + overflow: hidden;
42 + text-overflow: ellipsis;
43 + -webkit-line-clamp: 6;
44 + -webkit-box-orient: vertical;
45 +}
46 +
47 +// 自定义图片显示
48 +:deep(.van-image.custom-image) {
49 + img {
50 + border-radius: 5px;
51 + }
52 +}
53 +
54 +.multi-ellipsis--l1 {
55 + display: -webkit-box;
56 + overflow: hidden;
57 + text-overflow: ellipsis;
58 + -webkit-line-clamp: 1;
59 + -webkit-box-orient: vertical;
60 +}
61 +
62 +.multi-ellipsis--l2 {
63 + display: -webkit-box;
64 + overflow: hidden;
65 + text-overflow: ellipsis;
66 + -webkit-line-clamp: 2;
67 + -webkit-box-orient: vertical;
68 +}
69 +
70 +.multi-ellipsis--l3 {
71 + display: -webkit-box;
72 + overflow: hidden;
73 + text-overflow: ellipsis;
74 + -webkit-line-clamp: 3;
75 + -webkit-box-orient: vertical;
76 +}
77 +
78 +.multi-ellipsis--l4 {
79 + display: -webkit-box;
80 + overflow: hidden;
81 + text-overflow: ellipsis;
82 + -webkit-line-clamp: 4;
83 + -webkit-box-orient: vertical;
84 +}
85 +
86 +.multi-ellipsis--l5 {
87 + display: -webkit-box;
88 + overflow: hidden;
89 + text-overflow: ellipsis;
90 + -webkit-line-clamp: 5;
91 + -webkit-box-orient: vertical;
92 +}
93 +
94 +.multi-ellipsis--l6 {
95 + display: -webkit-box;
96 + overflow: hidden;
97 + text-overflow: ellipsis;
98 + -webkit-line-clamp: 6;
99 + -webkit-box-orient: vertical;
100 +}
1 export default definePageConfig({ 1 export default definePageConfig({
2 - navigationBarTitleText: '首页' 2 + navigationBarTitleText: ''
3 }) 3 })
......
...@@ -5,11 +5,15 @@ ...@@ -5,11 +5,15 @@
5 <div style="background-color: red; color: white;">span:24</div> 5 <div style="background-color: red; color: white;">span:24</div>
6 </nut-col> 6 </nut-col>
7 </nut-row> 7 </nut-row>
8 + <nut-config-provider :theme-vars="themeVars">
9 + <nut-dialog no-cancel-btn title="温馨提示" content="表单收集量已达到限额,无法再提交数据。" v-model:visible="show_reach_sjsj_max_count" @ok="onOk" />
10 + </nut-config-provider>
8 </view> 11 </view>
9 </template> 12 </template>
10 13
11 <script setup> 14 <script setup>
12 -import { computed, watchEffect, onMounted } from "vue"; 15 +import { ref, computed, watchEffect, onMounted } from "vue";
16 +import Taro from '@tarojs/taro'
13 import { useDidShow } from '@tarojs/taro' 17 import { useDidShow } from '@tarojs/taro'
14 import request from '@/utils/request'; 18 import request from '@/utils/request';
15 import { storeToRefs } from 'pinia' 19 import { storeToRefs } from 'pinia'
...@@ -22,13 +26,21 @@ import { apiList } from '@/api/wx/jsApiList.js' ...@@ -22,13 +26,21 @@ import { apiList } from '@/api/wx/jsApiList.js'
22 import { styleColor } from "@/constant.js"; 26 import { styleColor } from "@/constant.js";
23 import { getFormSettingAPI } from "@/api/form.js"; 27 import { getFormSettingAPI } from "@/api/form.js";
24 28
29 +// TAG: 自定义主题颜色
30 +const themeVars = {
31 + primaryColor: styleColor.baseColor,
32 +};
33 +
25 // web端判断 34 // web端判断
26 const is_pc = computed(() => process.env.TARO_ENV === 'h5' && wxInfo().isPC); 35 const is_pc = computed(() => process.env.TARO_ENV === 'h5' && wxInfo().isPC);
27 36
28 const store = mainStore(); 37 const store = mainStore();
29 const { formInfo } = storeToRefs(store); 38 const { formInfo } = storeToRefs(store);
30 39
31 -console.warn(is_pc.value); 40 +const show_reach_sjsj_max_count = ref(false);
41 +const onOk = () => {
42 + show_reach_sjsj_max_count.value = false;
43 +}
32 44
33 onMounted(async () => { 45 onMounted(async () => {
34 const code = getUrlParams(location.href) ? getUrlParams(location.href).code : ''; 46 const code = getUrlParams(location.href) ? getUrlParams(location.href).code : '';
...@@ -54,29 +66,41 @@ onMounted(async () => { ...@@ -54,29 +66,41 @@ onMounted(async () => {
54 if (process.env.NODE_ENV !== 'development' && no_auth_info && form_setting.wxzq_scope) { 66 if (process.env.NODE_ENV !== 'development' && no_auth_info && form_setting.wxzq_scope) {
55 // 预览模式不开启 67 // 预览模式不开启
56 if (no_preview_model) { 68 if (no_preview_model) {
57 - $router.replace({ 69 + // $router.replace({
58 - path: '/auth', 70 + // path: '/auth',
59 - query: { 71 + // query: {
60 - href: location.hash, 72 + // href: location.hash,
61 - code 73 + // code
62 - } 74 + // }
63 - }); 75 + // });
76 + Taro.redirectTo({
77 + url: `../auth/index?href=${location.hash}&code=${code}`
78 + })
64 } 79 }
65 } else { 80 } else {
66 // 判断跳转页面 81 // 判断跳转页面
67 if (form_setting.sjsj_enable === 0 && !form_setting.sjsj_enable) { 82 if (form_setting.sjsj_enable === 0 && !form_setting.sjsj_enable) {
68 - // 表单已结束 - 83 + // 表单已结束
69 - $router.push("/stop?status=disable"); 84 + // $router.push("/stop?status=disable");
85 + Taro.navigateTo({
86 + url: '../stop/index?status=disable'
87 + })
70 } 88 }
71 // 开启后有开始和结束时间,不在时间范围的显示表单还未开始或者已经结束 89 // 开启后有开始和结束时间,不在时间范围的显示表单还未开始或者已经结束
72 if (form_setting.sjsj_is_time_range && form_setting.sjsj_is_time_range) { 90 if (form_setting.sjsj_is_time_range && form_setting.sjsj_is_time_range) {
73 // 未开始 91 // 未开始
74 if (form_setting.server_time < form_setting.sjsj_begin_time) { 92 if (form_setting.server_time < form_setting.sjsj_begin_time) {
75 - $router.push("/stop?status=apply"); 93 + // $router.push("/stop?status=apply");
94 + Taro.navigateTo({
95 + url: '../stop/index?status=apply'
96 + })
76 } 97 }
77 // 已结束 98 // 已结束
78 if (form_setting.server_time > form_setting.sjsj_end_time) { 99 if (form_setting.server_time > form_setting.sjsj_end_time) {
79 - $router.push("/stop?status=finish"); 100 + // $router.push("/stop?status=finish");
101 + Taro.navigateTo({
102 + url: '../stop/index?status=finish'
103 + })
80 } 104 }
81 } 105 }
82 // 启用分享功能,非预览模式 106 // 启用分享功能,非预览模式
...@@ -93,12 +117,13 @@ onMounted(async () => { ...@@ -93,12 +117,13 @@ onMounted(async () => {
93 } 117 }
94 // 当数据量达到限额时,该表单将不能继续提交数据。 118 // 当数据量达到限额时,该表单将不能继续提交数据。
95 if (form_setting.is_reach_sjsj_max_count) { 119 if (form_setting.is_reach_sjsj_max_count) {
96 - showDialog({ 120 + // showDialog({
97 - title: '温馨提示', 121 + // title: '温馨提示',
98 - message: '表单收集量已达到限额,无法再提交数据。', 122 + // message: '表单收集量已达到限额,无法再提交数据。',
99 - theme: 'round-button', 123 + // theme: 'round-button',
100 - confirmButtonColor: styleColor.baseColor 124 + // confirmButtonColor: styleColor.baseColor
101 - }); 125 + // });
126 + show_reach_sjsj_max_count.value = true;
102 } 127 }
103 // 设定填写次数 128 // 设定填写次数
104 if (form_setting.wxzq_scope && no_preview_model) { 129 if (form_setting.wxzq_scope && no_preview_model) {
...@@ -110,4 +135,44 @@ onMounted(async () => { ...@@ -110,4 +135,44 @@ onMounted(async () => {
110 </script> 135 </script>
111 136
112 <style lang="less"> 137 <style lang="less">
138 +@prefix: ~"@{namespace}-x";
139 +
140 +html,
141 +body {
142 + width: 100%;
143 + // height: 100%;
144 + color: @base-font-color;
145 + // background-color: #f7f8fa;
146 + // background-color: #fff9ef;
147 + padding: 0;
148 + margin: 0;
149 +}
150 +
151 +body {
152 + position: relative;
153 +
154 + p {
155 + margin: 0;
156 + padding: 0;
157 + }
158 +}
159 +
160 +#app {
161 + min-height: calc(100vh);
162 + position: relative;
163 +}
164 +
165 +.@{prefix} {
166 + color: red;
167 +}
168 +
169 +.global-center {
170 + position: relative;
171 + top: 50%;
172 + transform: translateY(-50%);
173 +}
174 +
175 +.zIndex {
176 + z-index: 4500 !important;
177 +}
113 </style> 178 </style>
......
1 +/*
2 + * @Date: 2023-03-24 09:19:34
3 + * @LastEditors: hookehuyr hookehuyr@gmail.com
4 + * @LastEditTime: 2023-03-24 09:19:46
5 + * @FilePath: /custom_form/src/pages/table/index.config.js
6 + * @Description: 文件描述
7 + */
8 +export default definePageConfig({
9 + navigationBarTitleText: '表单',
10 +})
1 +<!--
2 + * @Date: 2023-03-24 09:19:27
3 + * @LastEditors: hookehuyr hookehuyr@gmail.com
4 + * @LastEditTime: 2023-03-24 09:20:19
5 + * @FilePath: /custom_form/src/pages/table/index.vue
6 + * @Description: 文件描述
7 +-->
8 +<template>
9 + <div class=""></div>
10 +</template>
11 +
12 +<script setup>
13 +import { ref } from 'vue'
14 +
15 +</script>
16 +
17 +<style lang="less" scoped>
18 +
19 +</style>
...@@ -6490,7 +6490,7 @@ glob-to-regexp@^0.4.1: ...@@ -6490,7 +6490,7 @@ glob-to-regexp@^0.4.1:
6490 resolved "https://mirrors.cloud.tencent.com/npm/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" 6490 resolved "https://mirrors.cloud.tencent.com/npm/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e"
6491 integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== 6491 integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==
6492 6492
6493 -glob@^7.0.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: 6493 +glob@^7.0.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.0:
6494 version "7.2.3" 6494 version "7.2.3"
6495 resolved "https://mirrors.cloud.tencent.com/npm/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" 6495 resolved "https://mirrors.cloud.tencent.com/npm/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
6496 integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== 6496 integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
...@@ -11853,6 +11853,16 @@ style-loader@3.3.1: ...@@ -11853,6 +11853,16 @@ style-loader@3.3.1:
11853 resolved "https://mirrors.cloud.tencent.com/npm/style-loader/-/style-loader-3.3.1.tgz#057dfa6b3d4d7c7064462830f9113ed417d38575" 11853 resolved "https://mirrors.cloud.tencent.com/npm/style-loader/-/style-loader-3.3.1.tgz#057dfa6b3d4d7c7064462830f9113ed417d38575"
11854 integrity sha512-GPcQ+LDJbrcxHORTRes6Jy2sfvK2kS6hpSfI/fXhPt+spVzxF6LJ1dHLN9zIGmVaaP044YKaIatFaufENRiDoQ== 11854 integrity sha512-GPcQ+LDJbrcxHORTRes6Jy2sfvK2kS6hpSfI/fXhPt+spVzxF6LJ1dHLN9zIGmVaaP044YKaIatFaufENRiDoQ==
11855 11855
11856 +style-resources-loader@^1.5.0:
11857 + version "1.5.0"
11858 + resolved "https://mirrors.cloud.tencent.com/npm/style-resources-loader/-/style-resources-loader-1.5.0.tgz#6e0585ca475b9dac45387c308be90d74c814f41f"
11859 + integrity sha512-fIfyvQ+uvXaCBGGAgfh+9v46ARQB1AWdaop2RpQw0PBVuROsTBqGvx8dj0kxwjGOAyq3vepe4AOK3M6+Q/q2jw==
11860 + dependencies:
11861 + glob "^7.2.0"
11862 + loader-utils "^2.0.0"
11863 + schema-utils "^2.7.0"
11864 + tslib "^2.3.1"
11865 +
11856 style-search@^0.1.0: 11866 style-search@^0.1.0:
11857 version "0.1.0" 11867 version "0.1.0"
11858 resolved "https://mirrors.cloud.tencent.com/npm/style-search/-/style-search-0.1.0.tgz#7958c793e47e32e07d2b5cafe5c0bf8e12e77902" 11868 resolved "https://mirrors.cloud.tencent.com/npm/style-search/-/style-search-0.1.0.tgz#7958c793e47e32e07d2b5cafe5c0bf8e12e77902"
...@@ -12095,6 +12105,13 @@ taro-css-to-react-native@3.6.2: ...@@ -12095,6 +12105,13 @@ taro-css-to-react-native@3.6.2:
12095 css-mediaquery "^0.1.2" 12105 css-mediaquery "^0.1.2"
12096 postcss-value-parser "^3.3.0" 12106 postcss-value-parser "^3.3.0"
12097 12107
12108 +taro-plugin-style-resource@^0.1.9:
12109 + version "0.1.9"
12110 + resolved "https://mirrors.cloud.tencent.com/npm/taro-plugin-style-resource/-/taro-plugin-style-resource-0.1.9.tgz#46448a384a8d96bbe4c363c8bed2d1c5ec031803"
12111 + integrity sha512-YAxPbGN8fqpy09fHwqvUTXBxd30vrt54MDn9/fT3YDPfMZ+yVFRcmfg05FjaB+At4JVeISW7rrS37hT/IdnypQ==
12112 + dependencies:
12113 + style-resources-loader "^1.5.0"
12114 +
12098 terser-webpack-plugin@^5.1.3: 12115 terser-webpack-plugin@^5.1.3:
12099 version "5.3.7" 12116 version "5.3.7"
12100 resolved "https://mirrors.cloud.tencent.com/npm/terser-webpack-plugin/-/terser-webpack-plugin-5.3.7.tgz#ef760632d24991760f339fe9290deb936ad1ffc7" 12117 resolved "https://mirrors.cloud.tencent.com/npm/terser-webpack-plugin/-/terser-webpack-plugin-5.3.7.tgz#ef760632d24991760f339fe9290deb936ad1ffc7"
...@@ -12299,7 +12316,7 @@ tslib@^1.10.0, tslib@^1.8.1, tslib@^1.9.0: ...@@ -12299,7 +12316,7 @@ tslib@^1.10.0, tslib@^1.8.1, tslib@^1.9.0:
12299 resolved "https://mirrors.cloud.tencent.com/npm/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" 12316 resolved "https://mirrors.cloud.tencent.com/npm/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
12300 integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== 12317 integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
12301 12318
12302 -tslib@^2.0.3, tslib@^2.3.0: 12319 +tslib@^2.0.3, tslib@^2.3.0, tslib@^2.3.1:
12303 version "2.5.0" 12320 version "2.5.0"
12304 resolved "https://mirrors.cloud.tencent.com/npm/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" 12321 resolved "https://mirrors.cloud.tencent.com/npm/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf"
12305 integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== 12322 integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==
......