bri-components 1.4.3 → 1.4.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bri-components",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -189,6 +189,9 @@ export default {
189
189
  },
190
190
  computed: {
191
191
  ...mapGetters(["appObj"]),
192
+ appObj () {
193
+ return this.$store.getters.appObj || {};
194
+ },
192
195
  appColor () {
193
196
  const themeColorMap = this.$appData.themeColors || {};
194
197
  return (themeColorMap[this.appObj.colorType] || { color: "#3DB8C5" }).color;