添加独立管理后台

This commit is contained in:
2026-03-13 21:12:58 +08:00
parent 5e3380f5ef
commit 16116a841d
235 changed files with 34577 additions and 1 deletions

View File

@@ -0,0 +1,36 @@
<template>
<VueOfficeExcel
:src="excel"
@rendered="renderedHandler"
@error="errorHandler"
style="height: 100vh; width: 100vh"
/>
</template>
<script>
export default {
name: 'Excel'
}
</script>
<script setup>
//引入VueOfficeExcel组件
import VueOfficeExcel from '@vue-office/excel'
//引入相关样式
import '@vue-office/excel/lib/index.css'
import { ref, watch } from 'vue'
const props = defineProps({
modelValue: {
type: String,
default: () => ''
}
})
const excel = ref('')
watch(
() => props.modelValue,
(val) => (excel.value = val),
{ immediate: true }
)
const renderedHandler = () => {}
const errorHandler = () => {}
</script>
<style></style>