无人机管理后台前端(已迁走)
罗广辉
2025-06-26 036fd1835e6060d7fec04a05310433fe32f2036a
src/main.js
@@ -99,6 +99,9 @@
app.config.globalProperties.$dayjs = dayjs
app.config.globalProperties.website = website
app.config.globalProperties.getScreen = getScreen
app.config.globalProperties.pxToVh = height => height / 10.8 + 'vh'
app.config.globalProperties.pxToRem = width => width * 0.1 + 'rem'
app.use(error)
app.use(i18n)
app.use(store)