摘要:
1、安装 vue-axios插件: npm i vue-axios-plugin -S 2、安装 qs,用来转换参数 npm i qs -S 3、在main.js文件引入vue-axios-plugin和qs import VueAxiosPlugin from 'vue-axios-plugin' 阅读全文
posted @ 2019-11-27 17:20
laoq112
阅读(327)
评论(0)
推荐(0)
摘要:
html结构: <div class="container" id="container"> <div class="text-wrapper"> <pre></pre> <textarea placeholder="请输入内容"></textarea> </div> </div> 原理:使用 pr 阅读全文
posted @ 2019-11-27 11:16
laoq112
阅读(772)
评论(0)
推荐(0)