zhangxiao
2024-09-18 85249c5d6096be58f52921f5d185987628e4d71f
为拖拽功能锁定按钮增加仅拥有权限才能使用
1个文件已修改
3 ■■■■ 已修改文件
src/views/authority/resource/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/authority/resource/index.vue
@@ -12,7 +12,8 @@
          <template #title>
            <span>{{ $t('menu.resource.title') }}</span>
            <a-tooltip content="点击后可通过拖拽更改资源结构,再次点击来关闭" background-color="#165DFF">
              <a-button type="outline" style="float: right;" @click="toggleDraggable" :style="{color: buttonColor}">
              <a-button type="outline" style="float: right;" @click="toggleDraggable" :style="{color: buttonColor}"
              v-has-permi="'/base/syresource!update'">
                <component :is="lockIcon" />
              </a-button>
            </a-tooltip>