You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.0 KiB
36 lines
1.0 KiB
// import app from '@/config/app.js';
|
|
// import cache from '@/utils/cache.js';
|
|
// import cacheAndRequest from '@/utils/cacheAndRequest.js';
|
|
// import storage from '@/utils/storage.js';
|
|
// import time from '@/utils/time.js';
|
|
// import ui from '@/utils/ui.js';
|
|
// import upload from '@/utils/upload.js';
|
|
// import user from '@/config/user.js';
|
|
// import zIndex from '@/config/zIndex.js';
|
|
|
|
// const gateway = process.env.VUE_APP_API_URL;
|
|
|
|
// const $t = {
|
|
// zIndex, // 定位元素层级
|
|
// app, // app级别的相关配置
|
|
// storage, // 本地存储storage封装
|
|
// time, // 时间处理
|
|
// ui, // ui界面提示相关
|
|
// chooseAndUpload: upload.chooseAndUpload, // 选择并上传单个文件相关的封装
|
|
// domain: `${gateway}/defaultwbs`,
|
|
// cache, // 本地存储相关
|
|
// $q: cacheAndRequest,
|
|
// user, // 用户相关配置
|
|
// };
|
|
|
|
// uni.$t = $t;
|
|
|
|
// const install = Vue => {
|
|
// // Vue.prototype.$t = $t;
|
|
|
|
// Vue.config.globalProperties.$t = $t;
|
|
// };
|
|
|
|
// export default {
|
|
// install
|
|
// };
|
|
|