吉安感知网项目-前端
shuishen
2026-02-03 89380e6260a75d1d3b94de687ebcc2f50d50659d
applications/drone-command/src/page/index/sidebar/sidebarItem.vue
@@ -2,7 +2,7 @@
 * @Author       : yuan
 * @Date         : 2026-01-06 09:47:09
 * @LastEditors  : yuan
 * @LastEditTime : 2026-01-07 15:01:16
 * @LastEditTime : 2026-01-22 15:00:07
 * @FilePath     : \applications\drone-command\src\page\index\sidebar\sidebarItem.vue
 * @Description  : 
 * Copyright 2026 OBKoro1, All Rights Reserved. 
@@ -47,6 +47,7 @@
import { mapGetters } from 'vuex';
import { validatenull } from 'utils/validate';
import website from '@/config/website';
import {saveOperationLog} from '@ztzf/apis'
export default {
  name: 'sidebarItem',
@@ -89,6 +90,12 @@
      return item.meta.roles ? item.meta.roles.includes(this.roles) : true;
    },
    open(item) {
      saveOperationLog({
        requestUri: item[this.pathKey],
        title: item.name,
        type: 0
      })
      this.$router.push({
        path: item[this.pathKey],
        query: item[this.queryKey],