0 Star 0 Fork 1

夏哥 / apidemo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
App.vue 897 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
xlongwei 提交于 2020-07-24 01:00 . 数据类型校验
<script>
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
},
globalData: {
api: {
service: process.env.NODE_ENV === 'development' ? 'http://localhost:8080/service' : 'https://api.xlongwei.com/service'
}
}
}
</script>
<style>
/* #ifndef APP-PLUS-NVUE */
/* uni.css - 通用组件、模板样式库,可以当作一套ui库应用 */
@import './common/uni.css';
.example-info {
/* #ifndef APP-NVUE */
display: block;
/* #endif */
padding: 15px;
color: #3b4144;
background-color: #ffffff;
font-size: 14px;
line-height: 20px;
}
/* #endif*/
</style>
JavaScript
1
https://gitee.com/xlongwei/apidemo.git
git@gitee.com:xlongwei/apidemo.git
xlongwei
apidemo
apidemo
master

搜索帮助

14c37bed 8189591 565d56ea 8189591