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 CHANGED
@@ -1,7 +1,7 @@
1
1
  # Change Log
2
2
  > 所有关于本项目的变化都在该文档里。
3
3
 
4
- **1.3.3 - 1.3.9 -2022-09-09 @江超**
4
+ **1.3.3 - 1.3.10 -2022-09-09 @江超**
5
5
  - 功能修改:
6
6
  - 移除非基础业务组件
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.3.9",
3
+ "version": "1.3.10",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -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) {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <a-tooltip :title="title" :overlayStyle="{zIndex: 2001}">
3
3
  <div class="img-check-box" @click="toggle">
4
- <img :src="img" alt=""/>
4
+ <img :src="img" alt=""/>
5
5
  <div v-if="sChecked" class="check-item">
6
6
  <a-icon type="check" />
7
7
  </div>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="exception-page">
3
3
  <div class="img">
4
- <img :src="config[type].img" alt=""/>
4
+ <img :src="config[type].img" alt=""/>
5
5
  </div>
6
6
  <div class="content">
7
7
  <h1>{{ config[type].title }}</h1>
@@ -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" alt=""/>
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" />
@@ -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(.*)\]$/)[1];
35
+ return Object.prototype.toString.call(object).match(/^\[object\s(.*)]$/)[1];
36
36
  }
37
37
  , FakeBlobBuilder = function BlobBuilder() {
38
38
  this.data = [];
@@ -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 = {}