leisure-core 0.5.94 → 0.5.95

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.
@@ -4,7 +4,9 @@
4
4
  <el-row>
5
5
  <el-col :span="18" class="leftsection">
6
6
  <div class="grid-content bg-purple">
7
- <span class="userinfo-inner">{{ companyInfo.name }}</span>
7
+ <span class="userinfo-inner" @click="clickLeftTop">{{
8
+ companyInfo.name
9
+ }}</span>
8
10
  </div>
9
11
  </el-col>
10
12
  <el-col :span="6" class="rightsection">
@@ -451,6 +453,9 @@ export default {
451
453
  shouldShowTooltip(text) {
452
454
  return text && text.length > 8;
453
455
  },
456
+ clickLeftTop() {
457
+ this.$emit("clickLeftTop");
458
+ },
454
459
  },
455
460
  };
456
461
  </script>
@@ -515,6 +520,7 @@ export default {
515
520
 
516
521
  .userinfo-inner {
517
522
  margin-left: 20px;
523
+ cursor: pointer;
518
524
  }
519
525
 
520
526
  .userinfo-inner-t {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leisure-core",
3
- "version": "0.5.94",
3
+ "version": "0.5.95",
4
4
  "description": "leisure-core是京心数据基于vue2.x开发的一套后台管理系统桌面端组件库,封装了大量实用的UI控件模板,非常方便开发者快速搭建前端应用",
5
5
  "private": false,
6
6
  "author": "北方乐逍遥(zcx7878)",