stellar-ui-plus
Advanced tools
Comparing version 1.17.4 to 1.17.5
{ | ||
"name": "stellar-ui-plus", | ||
"version": "1.17.4", | ||
"version": "1.17.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "", |
@@ -1,14 +0,14 @@ | ||
import { ref } from 'vue'; | ||
import { reactive } from 'vue'; | ||
const color = reactive({ | ||
steThemeColor: '#0090FF', | ||
defaultColor: '#0090FF', | ||
}); | ||
// 主题色内容 | ||
export function useColorStore() { | ||
const color = ref({ | ||
steThemeColor: '#0090FF', | ||
defaultColor: '#0090FF', | ||
}); | ||
const getColor = () => { | ||
return color.value; | ||
return color; | ||
}; | ||
const setColor = value => { | ||
Object.assign(color.value, value); | ||
console.log('color', color.value); | ||
const setColor = (value: any) => { | ||
Object.assign(color, value); | ||
console.log('color', color); | ||
}; | ||
@@ -15,0 +15,0 @@ |
Sorry, the diff of this file is not supported yet
1147945