摘要: serve.js//和请求一块封装BASE_URL = 'https:test.com/api'//统一请求地址export const uploadFile = (options) => { return new Promise((resolve, reject) => { console.log 阅读全文
posted @ 2021-05-28 09:47 GeKi 阅读(825) 评论(0) 推荐(0)
摘要: //一个是通过第三方软件查看pdf uni.downloadFile({ //通过uniapp的api下载下来 url: 'test.pdf', success: function (res) { var filePath = res.tempFilePath; uni.openDocument({ 阅读全文
posted @ 2020-12-11 14:53 GeKi 阅读(8064) 评论(0) 推荐(1)
摘要: <template> <view> <button @tap="toLogin">立即登录</button> </view> </template> <script> export default { methods:{ toLogin(){ uni.getProvider({ service: ' 阅读全文
posted @ 2020-12-07 11:46 GeKi 阅读(941) 评论(0) 推荐(0)
摘要: jsp+layui表格排序,不是排当前页面的,而是通过事件发送给后台。 table.render({ elem: '#prize_selector_table' , url: ' ${ctx}/ds/company/dsCompanyInfo/queryPageData' , cellMinWidt 阅读全文
posted @ 2020-11-10 17:36 GeKi 阅读(340) 评论(1) 推荐(1)