no message

This commit is contained in:
小陌 2023-06-27 08:14:12 +08:00
parent 890e54792a
commit 034f4a60db
2 changed files with 7 additions and 18 deletions

View File

@ -1,12 +1,3 @@
<!--
* @Descripttion: 资源文件选择器
* @version: 1.0
* @Author: sakuya
* @Date: 2021年10月11日16:01:40
* @LastEditors:
* @LastEditTime:
-->
<template> <template>
<div class="sc-file-select"> <div class="sc-file-select">
<div class="sc-file-select__side" v-loading="menuLoading"> <div class="sc-file-select__side" v-loading="menuLoading">
@ -122,8 +113,8 @@
// //
async getMenu(){ async getMenu(){
this.menuLoading = true this.menuLoading = true
var res = await config.menuApiObj.get() // var res = await config.menuApiObj.get()
this.menu = res.data // this.menu = res.data
this.menuLoading = false this.menuLoading = false
}, },
// //
@ -138,10 +129,10 @@
if(this.onlyImage){ if(this.onlyImage){
reqData.type = 'image' reqData.type = 'image'
} }
var res = await config.listApiObj.get(reqData) // var res = await config.listApiObj.get(reqData)
var parseData = config.listParseData(res) // var parseData = config.listParseData(res)
this.data = parseData.rows // this.data = parseData.rows
this.total = parseData.total // this.total = parseData.total
this.listLoading = false this.listLoading = false
this.$refs.scrollbar.setScrollTop(0) this.$refs.scrollbar.setScrollTop(0)
}, },
@ -243,7 +234,7 @@
</script> </script>
<style scoped> <style scoped>
.sc-file-select {display: flex;} .sc-file-select {display: flex; height: 100%}
.sc-file-select__files {flex: 1;} .sc-file-select__files {flex: 1;}
.sc-file-select__list {height:400px;} .sc-file-select__list {height:400px;}

View File

@ -36,8 +36,6 @@
<script> <script>
import scEcharts from '@/components/scEcharts'; import scEcharts from '@/components/scEcharts';
import scStatistic from '@/components/scStatistic'; import scStatistic from '@/components/scStatistic';
export default { export default {
name: 'chartlist', name: 'chartlist',
components: { components: {