3 Star 26 Fork 21

苏慕彦/量化交易-策略机器人

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.js 851 Bytes
一键复制 编辑 原始数据 按行查看 历史
苏慕彦 提交于 2021-08-31 13:19 +08:00 . 源码初次提交
import Vue from 'vue'
import App from './App'
import api from '@/api'
import tool from '@/tool/tool'
import global from './api/global.js'
/* v18n多语言处理 */
import i18n from '@/language/index.js'
Vue.config.productionTip = false
import vNavigation from '@/components/navigation/navigation.vue'
Vue.prototype.$api = api
Vue.prototype.$msg = tool.msg
Vue.prototype.$tool = tool
Vue.prototype.global = global
// import fastClick from 'fastclick'
// fastClick.attach(document.body);
/* 跳转事件 */
Vue.prototype.jump = function(url){
uni.navigateTo({
url:url
})
}
Vue.prototype.sjump = function(url){
uni.switchTab({
url:url
})
}
/* 全局混入 */
Vue.mixin({
computed: {
i18n() {
return this.$t('global');
}
},
})
App.mpType = 'app'
const app = new Vue({
i18n,
...App
})
app.$mount()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Su_muyan/quant_transaction.git
git@gitee.com:Su_muyan/quant_transaction.git
Su_muyan
quant_transaction
量化交易-策略机器人
master

搜索帮助