vue2-client 1.3.9 → 1.3.10
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/CHANGELOG.md +1 -1
- package/package.json +1 -1
- package/src/base-client/plugins/AppData.js +2 -2
- package/src/components/checkbox/ImgCheckbox.vue +1 -1
- package/src/components/exception/ExceptionPage.vue +1 -1
- package/src/layouts/header/AdminHeader.vue +1 -1
- package/src/utils/excel/Blob.js +1 -1
- package/src/utils/themeUtil.js +2 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {manageApi, post} from '@vue2-client/services/api'
|
|
2
|
-
import {handleTree} from '@vue2-client/utils/util'
|
|
1
|
+
import { manageApi, post } from '@vue2-client/services/api'
|
|
2
|
+
import { handleTree } from '@vue2-client/utils/util'
|
|
3
3
|
|
|
4
4
|
const GetAppDataService = {
|
|
5
5
|
install (Vue) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<a-layout-header :class="[headerTheme, 'admin-header']">
|
|
3
3
|
<div :class="['admin-header-wide', layout, pageWidth]">
|
|
4
4
|
<router-link v-if="isMobile || layout === 'head'" :class="['logo', isMobile ? null : 'pc', headerTheme]" to="/">
|
|
5
|
-
<img src="@vue2-client/assets/img/logo.png" width="32"
|
|
5
|
+
<img src="@vue2-client/assets/img/logo.png" width="32" alt=""/>
|
|
6
6
|
<h1 v-if="!isMobile">{{ systemName }}</h1>
|
|
7
7
|
</router-link>
|
|
8
8
|
<a-divider v-if="isMobile" type="vertical" />
|
package/src/utils/excel/Blob.js
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
// in order to support older browsers that only have BlobBuilder
|
|
33
33
|
const BlobBuilder = view.BlobBuilder || view.WebKitBlobBuilder || view.MozBlobBuilder || (function (view) {
|
|
34
34
|
const get_class = function (object) {
|
|
35
|
-
return Object.prototype.toString.call(object).match(/^\[object\s(.*)
|
|
35
|
+
return Object.prototype.toString.call(object).match(/^\[object\s(.*)]$/)[1];
|
|
36
36
|
}
|
|
37
37
|
, FakeBlobBuilder = function BlobBuilder() {
|
|
38
38
|
this.data = [];
|
package/src/utils/themeUtil.js
CHANGED
|
@@ -20,7 +20,7 @@ function getThemeColors (color, $theme) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
function changeThemeColor (newColor, $theme) {
|
|
23
|
-
return client.changer.changeColor({newColors: getThemeColors(newColor, $theme)})
|
|
23
|
+
return client.changer.changeColor({ newColors: getThemeColors(newColor, $theme) })
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
function modifyVars (color) {
|
|
@@ -74,8 +74,8 @@ function loadLocalTheme (localSetting) {
|
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* 获取本地保存的配置
|
|
77
|
-
* @param load {boolean} 是否加载配置中的主题
|
|
78
77
|
* @returns {Object}
|
|
78
|
+
* @param loadTheme
|
|
79
79
|
*/
|
|
80
80
|
function getLocalSetting (loadTheme) {
|
|
81
81
|
let localSetting = {}
|