forked from liweijie/education
移除缓存相关按钮
This commit is contained in:
@@ -89,10 +89,7 @@
|
||||
</div>
|
||||
|
||||
<div class="bar-right">
|
||||
<el-button type="primary" @click="handleImportToSystem" :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>
|
||||
<el-button type="primary" icon="el-icon-upload2" @click="handleImport" :loading="importing">导入到系统</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</el-card>
|
||||
@@ -277,7 +274,7 @@ export default {
|
||||
},
|
||||
|
||||
// ==================== 导入到系统 ====================
|
||||
handleImportToSystem() {
|
||||
handleImport() {
|
||||
if (!this.selectedFile) {
|
||||
this.$message.warning('请先选择文件')
|
||||
return
|
||||
@@ -300,18 +297,6 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
// ==================== 缓存操作(后端暂未提供) ====================
|
||||
handleUploadToCache() {
|
||||
this.$message.info('后端暂未提供该接口')
|
||||
},
|
||||
|
||||
handleCheckCache() {
|
||||
this.$message.info('后端暂未提供该接口')
|
||||
},
|
||||
|
||||
handleDeleteCache() {
|
||||
this.$message.info('后端暂未提供该接口')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user