移除缓存相关按钮

This commit is contained in:
2026-08-27 09:36:52 +08:00
parent 65b96c0732
commit 25f37a1d9a
@@ -89,10 +89,7 @@
</div> </div>
<div class="bar-right"> <div class="bar-right">
<el-button type="primary" @click="handleImportToSystem" :loading="importing">缓存数据导入到系统</el-button> <el-button type="primary" icon="el-icon-upload2" @click="handleImport" :loading="importing">导入到系统</el-button>
<el-button type="primary" icon="el-icon-upload2" @click="handleUploadToCache">上传数据至缓存</el-button>
<el-button @click="handleCheckCache">检查缓存数据</el-button>
<el-button type="danger" plain @click="handleDeleteCache">删除缓存数据</el-button>
</div> </div>
</div> </div>
</el-card> </el-card>
@@ -277,7 +274,7 @@ export default {
}, },
// ==================== 导入到系统 ==================== // ==================== 导入到系统 ====================
handleImportToSystem() { handleImport() {
if (!this.selectedFile) { if (!this.selectedFile) {
this.$message.warning('请先选择文件') this.$message.warning('请先选择文件')
return return
@@ -300,18 +297,6 @@ export default {
}) })
}, },
// ==================== 缓存操作(后端暂未提供) ====================
handleUploadToCache() {
this.$message.info('后端暂未提供该接口')
},
handleCheckCache() {
this.$message.info('后端暂未提供该接口')
},
handleDeleteCache() {
this.$message.info('后端暂未提供该接口')
}
} }
} }
</script> </script>