小程序中不支持指令
This commit is contained in:
parent
4be484d27a
commit
c5495da6fd
@ -58,7 +58,7 @@
|
|||||||
"@dcloudio/uni-quickapp-webview": "3.0.0-4020420240722002",
|
"@dcloudio/uni-quickapp-webview": "3.0.0-4020420240722002",
|
||||||
"@jridgewell/sourcemap-codec": "^1.5.0",
|
"@jridgewell/sourcemap-codec": "^1.5.0",
|
||||||
"@qiun/wx-ucharts": "2.5.0-20230101",
|
"@qiun/wx-ucharts": "2.5.0-20230101",
|
||||||
"@ttou/uview-typings": "^2.0.5",
|
"@uview-plus/types": "^3.2.5",
|
||||||
"clipboard": "^2.0.11",
|
"clipboard": "^2.0.11",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.13",
|
||||||
"mqtt": "4.1.0",
|
"mqtt": "4.1.0",
|
||||||
@ -69,7 +69,7 @@
|
|||||||
"vue-i18n": "^10.0.1"
|
"vue-i18n": "^10.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@dcloudio/types": "^3.4.12",
|
"@dcloudio/types": "^3.4.14",
|
||||||
"@dcloudio/uni-automator": "3.0.0-4020420240722002",
|
"@dcloudio/uni-automator": "3.0.0-4020420240722002",
|
||||||
"@dcloudio/uni-cli-shared": "3.0.0-4020420240722002",
|
"@dcloudio/uni-cli-shared": "3.0.0-4020420240722002",
|
||||||
"@dcloudio/uni-stacktracey": "3.0.0-4020420240722002",
|
"@dcloudio/uni-stacktracey": "3.0.0-4020420240722002",
|
||||||
|
|||||||
11776
pnpm-lock.yaml
11776
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -17,7 +17,11 @@ export function createApp() {
|
|||||||
app.use(store)
|
app.use(store)
|
||||||
app.use(uviewPlus)
|
app.use(uviewPlus)
|
||||||
app.use(plugins)
|
app.use(plugins)
|
||||||
|
|
||||||
|
// #ifndef MP-WEIXIN
|
||||||
|
// 微信小程序中不支持自定义指令
|
||||||
directive(app)
|
directive(app)
|
||||||
|
// #endif
|
||||||
|
|
||||||
// 全局方法挂载
|
// 全局方法挂载
|
||||||
app.config.globalProperties.useDict = useDict
|
app.config.globalProperties.useDict = useDict
|
||||||
|
|||||||
@ -16,6 +16,13 @@ export default defineConfig(() => {
|
|||||||
],
|
],
|
||||||
exclude: [
|
exclude: [
|
||||||
/\/README\.md$/,
|
/\/README\.md$/,
|
||||||
]
|
],
|
||||||
|
css: {
|
||||||
|
preprocessorOptions: {
|
||||||
|
scss: {
|
||||||
|
api: 'modern-compiler'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
Loading…
Reference in New Issue
Block a user