@ruixinkeji/prism-ui 1.0.24 → 1.0.25
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/package.json +1 -1
- package/store/app.js +8 -0
package/package.json
CHANGED
package/store/app.js
CHANGED
|
@@ -97,6 +97,14 @@ export const useAppStore = defineStore('app', {
|
|
|
97
97
|
},
|
|
98
98
|
|
|
99
99
|
initTheme() {
|
|
100
|
+
// 显示 Prism UI 版本信息
|
|
101
|
+
const version = '1.0.25';
|
|
102
|
+
console.log(
|
|
103
|
+
'%c Prism UI %c v' + version + ' ',
|
|
104
|
+
'background: #3B82F6; color: #fff; border-radius: 3px 0 0 3px; padding: 2px 6px;',
|
|
105
|
+
'background: #1E293B; color: #fff; border-radius: 0 3px 3px 0; padding: 2px 6px;'
|
|
106
|
+
);
|
|
107
|
+
|
|
100
108
|
// 获取保存的主题模式
|
|
101
109
|
const savedMode = uni.getStorageSync('prism_theme_mode');
|
|
102
110
|
if (savedMode) {
|