1 Star 0 Fork 0

孙伟国/明大保险2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 786 Bytes
一键复制 编辑 原始数据 按行查看 历史
孙伟国 提交于 2024-08-30 17:56 . 1
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import axios from 'axios'
Vue.prototype.$axios = axios
Vue.config.productionTip = false
import store from './store' // store
Vue.prototype.$store = store
App.mpType = 'app'
// 过滤器 -时间
import moment from 'moment'
Vue.prototype.$moment = moment
Vue.filter("timeFormat", function (value) {
if (!value) return "";
value = value.toString();
return moment(value).format("YYYY-MM-DD HH:mm:ss");
});
import uView from "@/uni_modules/uview-ui";
Vue.use(uView);
const app = new Vue({
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sun-weiguo/mingda-insurance-2.git
git@gitee.com:sun-weiguo/mingda-insurance-2.git
sun-weiguo
mingda-insurance-2
明大保险2
master

搜索帮助