首页顶部导航

This commit is contained in:
2023-07-11 18:46:55 +08:00
parent ff631f5816
commit fd06b66cc8
5 changed files with 62 additions and 10 deletions

View File

@@ -86,6 +86,8 @@ const $post = (url, params) => {
}
//下面是vue3必须加的vue2不需要只需要暴露出去getpost方法就可以
export default {
get:$get,
post:$post,
install: (app) => {
app.config.globalProperties['$get'] = $get;
app.config.globalProperties['$post'] = $post;