gy-webcode2 2.0.4 → 2.0.6
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/components/breadcrumb.vue +28 -5
- package/css/modules/header.scss +2 -1
- package/css/theme/colors/default.scss +4 -4
- package/extend/axios.js +3 -2
- package/index.js +3 -3
- package/package.json +1 -1
|
@@ -39,9 +39,12 @@
|
|
|
39
39
|
<div class="other">
|
|
40
40
|
<div class="otherContainer">
|
|
41
41
|
<slot name="other"></slot>
|
|
42
|
-
<el-button title="返回" @click="backClick()" v-if="isBack" icon="" type="primary" class="btnIcon mar_l_10">
|
|
42
|
+
<!-- <el-button title="返回" @click="backClick()" v-if="isBack" icon="" type="primary" class="btnIcon mar_l_10">
|
|
43
43
|
<i class="el-icon-arrow-left"></i>
|
|
44
|
-
</el-button>
|
|
44
|
+
</el-button> -->
|
|
45
|
+
<div v-if="isBack" title="返回" @click="backClick()" class=" mar_l_10 backBtn">
|
|
46
|
+
<i class="el-icon-arrow-left"></i>
|
|
47
|
+
</div>
|
|
45
48
|
</div>
|
|
46
49
|
</div>
|
|
47
50
|
</div>
|
|
@@ -163,6 +166,26 @@ export default {
|
|
|
163
166
|
}
|
|
164
167
|
</script>
|
|
165
168
|
|
|
166
|
-
<style>
|
|
167
|
-
|
|
168
|
-
|
|
169
|
+
<style scoped lang="scss">
|
|
170
|
+
.backBtn{
|
|
171
|
+
background: #F2F3F5;
|
|
172
|
+
color: #1D2129;
|
|
173
|
+
width: 32px;
|
|
174
|
+
height: 32px;
|
|
175
|
+
display: flex;
|
|
176
|
+
align-items: center;
|
|
177
|
+
justify-content: center;
|
|
178
|
+
border-radius: 6px;
|
|
179
|
+
cursor: pointer;
|
|
180
|
+
user-select: none;
|
|
181
|
+
transition: all 0.3s ease;
|
|
182
|
+
&:hover{
|
|
183
|
+
background: #e4e3e3;
|
|
184
|
+
@include themeColor("color",'active');
|
|
185
|
+
}
|
|
186
|
+
&:active{
|
|
187
|
+
background: #e9e9e9;
|
|
188
|
+
@include themeColor("color",'active');
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
</style>
|
package/css/modules/header.scss
CHANGED
package/extend/axios.js
CHANGED
|
@@ -43,8 +43,9 @@ http.interceptors.request.use(
|
|
|
43
43
|
let nonce = crypto.randomString(16);
|
|
44
44
|
// 加密后的签名key
|
|
45
45
|
// 随机字符串
|
|
46
|
-
let key = crypto.RSAencrypt(nonce,window._zgy.publicKeyServer);
|
|
47
|
-
|
|
46
|
+
// let key = crypto.RSAencrypt(nonce,window._zgy.publicKeyServer);
|
|
47
|
+
let key = crypto.RSAencrypt(nonce,Cookies.get("gy_publicKeyServer"));
|
|
48
|
+
|
|
48
49
|
// console.log("ts",ts);
|
|
49
50
|
// console.log('key',key);
|
|
50
51
|
// console.log('nonce',nonce);
|
package/index.js
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
// 清除缓存
|
|
12
12
|
// npm cache verify
|
|
13
13
|
|
|
14
|
-
// token
|
|
15
|
-
// npm config set //registry.npmjs.org/:_authToken
|
|
14
|
+
// token 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
|
|
15
|
+
// npm config set //registry.npmjs.org/:_authToken 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
|
|
16
16
|
// npm config delete //registry.npmjs.org/:_authToken
|
|
17
17
|
|
|
18
18
|
// 版本号 x.y.z :
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
// 1.2.0 breadcrumb 使用store的menuPath了
|
|
30
30
|
// 2.0.0 全新UI改版
|
|
31
31
|
module.exports = {
|
|
32
|
-
version :'2.0.
|
|
32
|
+
version :'2.0.6',
|
|
33
33
|
}
|