适配vite基本完成
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
const path = import.meta.env.VITE_BASE_API
|
||||
const path = process.env.VUE_APP_BASE_API
|
||||
import { getFileList } from '@/api/fileUploadAndDownload'
|
||||
export default {
|
||||
props: {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</template>
|
||||
<script>
|
||||
import echarts from 'echarts'
|
||||
require('echarts/theme/macarons')
|
||||
import 'echarts/theme/macarons'
|
||||
|
||||
var dataAxis = []
|
||||
for (var i = 1; i < 21; i++) {
|
||||
|
||||
Reference in New Issue
Block a user