1 Star 0 Fork 98

心如止水/smart-breed

forked from tony/smart-breed 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.js 862 Bytes
一键复制 编辑 原始数据 按行查看 历史
冯兴 提交于 2022-07-13 21:46 . 完成认养工单静态页面
import App from './App'
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
import store from './store';
// 引入uView
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
import {cuNavigateTo} from '@/utils/index.js'
import {slLoading, slTip} from '@/utils/tip.js'
Vue.filter("moneyFormat", function(value){
let [int, float] = (value+'').split('.');
if(!float) {
return int + '.' + '00';
}
if(float.length === 1) {
return float = `${int}.${float}0`;
}
return int+'.'+float;
})
Vue.prototype.$cuNavigateTo = cuNavigateTo
Vue.prototype.$cuLoading = slLoading
Vue.prototype.$cuTip = slTip
const app = new Vue({
store,
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dhf327/smart-breed.git
git@gitee.com:dhf327/smart-breed.git
dhf327
smart-breed
smart-breed
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385