wangchen 2023-07-11 15:31:39 +08:00
parent 179e3c3eaf
commit 7b4a67b732
3 changed files with 4 additions and 3 deletions

View File

@ -23,6 +23,7 @@ Vue.component('uni-pop', uniPop)
Vue.component('liu-step-bar', liuStepBar)
import Vant from 'vant';
console.log(Vant)
import 'vant/lib/index.less';
Vue.use(Vant);
import {

2
package-lock.json generated
View File

@ -256,7 +256,7 @@
},
"node_modules/vant": {
"version": "2.12.54",
"resolved": "https://registry.npmjs.org/vant/-/vant-2.12.54.tgz",
"resolved": "https://registry.npmmirror.com/vant/-/vant-2.12.54.tgz",
"integrity": "sha512-t7DCiLxNosDrg0Jm5EY9p0A5cAMo5OadmizbYtPEc0ru+OJKEa3kcfxtKIK5on7ZPqoOkyYJt8e6BQ1VDMPsrg==",
"dependencies": {
"@babel/runtime": "7.x",

View File

@ -134,14 +134,14 @@
add() {
console.log("新增")
uni.navigateTo({
url: 'pages/monitor/edit'
url: '/pages/monitor/edit'
})
},
//
edit() {
console.log("编辑")
uni.navigateTo({
url: 'pages/monitor/edit'
url: '/pages/monitor/edit'
})
},
}