修复小区背景颜色,巡检点顺序一致,投诉处理按钮
This commit is contained in:
13
src/store/modules/bgColor.ts
Normal file
13
src/store/modules/bgColor.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { defineStore } from 'pinia';
|
||||
|
||||
export const useBgColor = defineStore('backgroundColor', () => {
|
||||
const isShow = ref(false);
|
||||
const toggleBgColor = (bol: boolean = false) => {
|
||||
isShow.value = bol;
|
||||
console.log(isShow.value);
|
||||
};
|
||||
return {
|
||||
toggleBgColor,
|
||||
isShow
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user