zmtlwzy / zmtlwzy-admin Goto Github PK
View Code? Open in Web Editor NEWA original style admin template, based on Vue3、Vite、Naive UI、TypeScript、Unocss.
Home Page: https://zmtlwzy-admin.netlify.app
License: MIT License
A original style admin template, based on Vue3、Vite、Naive UI、TypeScript、Unocss.
Home Page: https://zmtlwzy-admin.netlify.app
License: MIT License
the demo site is not responsive at all to me on my phone
Hello everyone,
Is anyone has some docs that explain how to use BasicForm and schema?
I'm trying to update a value of a field after doing some maths outside the register.
I appreciate any help!
某些情况下,meta.affix=true
不生效。
这个问题比较奇怪,我是 git clone
然后 npm install && npm run dev
打开就是这样。
我查看了一下 Naive UI
官方文档,Tabs 组件
提供了 closable
参数,设置为 false
就可以隐藏关闭按钮,所以我尝试将 /src/layouts/default/tabs/index.vue
第 21 行 :closable="panel?.meta?.affix"
修改为 :closable="!panel?.meta?.affix"
则正常了。
{
"pkg": {
"dependencies": {
"@iconify/iconify": "^2.1.1",
"@vueuse/core": "^7.5.3",
"axios": "^0.24.0",
"crypto-js": "^4.1.1",
"echarts": "^5.2.2",
"highlight.js": "^11.4.0",
"lodash-es": "^4.17.21",
"mockjs": "^1.1.0",
"path-to-regexp": "^6.2.0",
"pinia": "^2.0.9",
"qrcode": "^1.5.0",
"qs": "^6.10.3",
"tinycolor2": "^1.4.2",
"vue": "^3.2.27",
"vue-i18n": "~9.1.9",
"vue-router": "^4.0.12",
"vue-slicksort": "^2.0.0-alpha.5",
"vue-types": "^4.1.1"
},
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@iconify/json": "^1.1.458",
"@iconify/vue": "^3.1.2",
"@types/crypto-js": "^4.1.0",
"@types/fs-extra": "^9.0.13",
"@types/lodash-es": "^4.17.5",
"@types/mockjs": "^1.0.6",
"@types/node": "^17.0.10",
"@types/qrcode": "^1.4.2",
"@types/qs": "^6.9.7",
"@types/tinycolor2": "^1.4.3",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"@vitejs/plugin-vue": "^2.0.1",
"@vitejs/plugin-vue-jsx": "^1.3.3",
"@vue/compiler-sfc": "^3.2.27",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^10.0.0",
"chalk": "^5.0.0",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^6.3.0",
"date-fns": "^2.28.0",
"dotenv": "^10.0.0",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.3.0",
"esno": "^0.13.0",
"fs-extra": "^10.0.0",
"husky": "^7.0.4",
"less": "^4.1.2",
"lint-staged": "^12.2.1",
"naive-ui": "^2.24.1",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"rollup": "^2.64.0",
"typescript": "^4.5.4",
"unplugin-icons": "^0.13.0",
"unplugin-vue-components": "^0.17.13",
"vfonts": "^0.1.0",
"vite": "^2.7.13",
"vite-plugin-html": "^2.1.2",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-windicss": "^1.6.3",
"vue-tsc": "^0.30.6",
"windicss": "^3.4.3"
},
"name": "zmtlwzy-admin",
"version": "0.1.0"
},
"lastBuildTime": "2022-01-30 22:41:30"
}
Hi there,
I've been trying to load :data
fom BasicTable after onMounted
but it isn't work.
Do you have any tip how can I do that?
这会导致部分UI显示不正常,并且无法使用 themeOverrides
目前能用在正式项目中吗
本地node版本14.15.1
1、build/vite/plugin/msw.ts
replaceAll函数存在不兼容情况报错replaceAll is not a function,建议使用replace('/\/g', '/')
2、getUserInfo接口里面的getRequestToken方法有问题,应该是req?.headers?.headers?.authorization才对,不应该是req?.headers?._headers?.authorization
例如
export const themeConfig = {
light: {
primary-color: '#000'
},
dark: {
primary-color: '#fff'
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.