فهرست منبع

feat: adjust some styles

Casper Dai 2 سال پیش
والد
کامیت
6826793f06

+ 0 - 1
src/utils/mqtt.js

@@ -128,7 +128,6 @@ export function decodePayload (topic, payload) {
       console.log('null')
       payload = s
     }
-    console.log(payload)
   } catch (e) {
     console.warn(e)
   }

+ 1 - 6
src/views/ad/automation/task/ScreenTask.vue

@@ -266,12 +266,7 @@ export default {
   },
   methods: {
     onDeviceChange (device) {
-      if (device) {
-        const { id } = device
-        if (this.deviceId !== id) {
-          this.deviceId = id
-        }
-      }
+      this.deviceId = device?.id
     },
     getTasks (params) {
       return getTasks({

+ 2 - 1
src/views/external/box/components/Device.vue

@@ -185,7 +185,8 @@ export default {
           ] },
           { key: 'serialNumber', type: 'search', placeholder: '序列号' },
           { key: 'mac', type: 'search', placeholder: 'MAC' },
-          { key: 'name', type: 'search', placeholder: '设备名称' }
+          { key: 'name', type: 'search', placeholder: '设备名称' },
+          { type: 'refresh' }
         ],
         cols: [
           // { type: 'refresh', render: __SUB_DEVICE__

+ 1 - 1
src/views/platform/error-page/index.vue

@@ -9,7 +9,7 @@
         >
         <div class="c-sibling-item far c-error-page__name">{{ title }}</div>
       </div>
-      <div class="c-sibling-item--v c-error-page__title">鉴权失败,请稍后重试</div>
+      <div class="c-sibling-item--v c-error-page__title">{{ message }}</div>
       <div
         class="c-error-page__retry u-pointer"
         @click="retry"