预热时间(s)
import { ref } from 'vue'
import { showSuccessToast, showFailToast } from 'vant'
-import { useSettingStore, useWebSocketStore } from '@/store'
+import { useSettingStore, useWebSocketStore, useOperatorStore } from '@/store'
import { storeToRefs } from 'pinia'
import { setSettingValJSON } from '@/mock/command'
const settingStore = useSettingStore()
const webSocketStore = useWebSocketStore()
+const operatorStore = useOperatorStore()
const {
max_humidity,
continued_satur,
diff --git a/src/components/Setting/components/User.vue b/src/components/Setting/components/User.vue
index bc498cc..b442d9a 100644
--- a/src/components/Setting/components/User.vue
+++ b/src/components/Setting/components/User.vue
@@ -85,13 +85,13 @@
{{ item.uid }}
删除用户
设为管理员
@@ -278,6 +278,18 @@ const hideUserModal = () => {
letter-spacing: 0.1em;
color: #ffffff;
}
+ .common_btn {
+ width: 111px;
+ height: 38px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-family: Source Han Sans CN;
+ font-size: 14px;
+ font-weight: normal;
+ letter-spacing: 0.1em;
+ color: #06518b;
+ }
.mb {
margin: 0 16px;
}