calculator

This commit is contained in:
仲么了
2024-03-13 11:45:52 +08:00
parent 82ea638515
commit 29714ddcae
2 changed files with 1 additions and 5 deletions

View File

@@ -65,14 +65,10 @@
<script lang="ts" setup> <script lang="ts" setup>
import { ref, inject } from 'vue' import { ref, inject } from 'vue'
import { reactive } from 'vue' import { reactive } from 'vue'
import { ElMessage } from 'element-plus'
import TableStore from '@/utils/tableStore' // 若不是列表页面弹框可删除
import MyEchart from '@/components/echarts/MyEchart.vue' import MyEchart from '@/components/echarts/MyEchart.vue'
import { color } from '../../components/echarts/color'
const dialogVisible = ref(false) const dialogVisible = ref(false)
const title = ref('生产线免疫力计算器') const title = ref('生产线免疫力计算器')
const tableStore = inject('tableStore') as TableStore
const chartsOptions1 = ref({ const chartsOptions1 = ref({
xAxis: null, xAxis: null,
yAxis: null, yAxis: null,

View File

@@ -11,7 +11,7 @@ export default defineConfig({
host: '0.0.0.0', host: '0.0.0.0',
proxy: { proxy: {
'/api': { '/api': {
target: 'http://192.168.1.31:10215', //数据中心 target: 'http://192.168.1.81:10215', //数据中心
// target: 'http://192.168.1.81:10215', //数据中心 // target: 'http://192.168.1.81:10215', //数据中心
changeOrigin: true, changeOrigin: true,
rewrite: path => path.replace(/^\/api/, '') //路径重写,把'/api'替换为'' rewrite: path => path.replace(/^\/api/, '') //路径重写,把'/api'替换为''