原创 web 版im即時通訊舊版本
vue 頁面 1.引用webim.js 我在app.vue中全局引用 import './api/webim.js' 2. 登錄im , 方法在created中運行。 接口返回對象, webim.login 初始化im methods:
原创 uniapp圖片獲取地址找不到
一: 我用到了5次..跳出 <image class="doctorImg" src="../../../../../static/img/doctor_default.png" mode=""></image> 二: <image
原创 axios 設置頭信息更新第一次請求
axios.interceptors.request.use(config => { //更新enterpriseCode config.headers.enterpriseCode = util.session('enterp
原创 谷歌瀏覽器安裝地址
查看谷歌瀏覽器安裝地址: 在谷歌瀏覽器中輸入:chrome:version
原创 vue3 手機微信緩存
nginx配置文件修改,禁止這些資源的緩存,nginx需要做如下配置: location / { root html; index index.html; add_header Cache-Control
原创 html 清除瀏覽器緩存
<meta http-equiv="Expires" content="0"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Cache-control"
原创 vue項目啓動報錯 Support for the experimental syntax 'dynamicImport' isn't currently enabled
錯誤: Support for the experimental syntax 'dynamicImport' isn't currently enabled 解決方法: 第一步 下載官方babel轉換import插件 n
原创 簡單的sql查詢語句
select * from 表明 where 條件 條件:字段名 判斷符 值 判斷符:=,>,<,>=,<=,like 查詢整個數據庫中的某個字段 SELECT * FROM information_schema.columns WH
原创 小程序頁面自動滾動到最下面
<scroll-view style='height:{{height}}' scroll-y scroll-into-view="{{toView}}" > <view class="conversation-list
原创 es6兩個數組比較如果某字段相同,給一個字段賦值
list:[{ classify: "2" id: 21 intro: "執業藥師張三" online: 1 onlineCount: 0 ph
原创 el-date-picker 禁止時間xaun ze
通過validator驗證 ,當時間小於當前時間20分鐘,清空選框的值, disabledDate日期禁止選中,只能選7天之內的日期 效果: <el-form-item label="短信發送時間" prop="smsSendTim
原创 mac的vsCode的git不能提交
已經安裝了git 並且知道路徑。 根據網上的提示 在設置中配置了 git.path的路徑後 重新啓動軟件 總是提示:未找到Git。請安裝Git,或在“git.path"設置中配置。 在電腦命令工具中 找到項目git add . 添加報錯
原创 小程序 數組循環賦值this.setData ,數組賦值
給durgsList數組賦值 drugsList:[ { name:'', number:'', spec:'', unit:'', manufa
原创 微信小程序swiper設置圖片圓角和指示形狀改變
wxml: <view class="swiperCont"> <swiper class="swiper" easing-function="easeInOutCubic" indicator-dots="true" ind
原创 小程序中引用阿里雲圖標庫
1. 把圖標庫下載到的.css文件拷貝到項目中並改後綴名.wxss 2. app.wxss中引入inonfont.wxss 3. 使用: 在class中引入我們需要的class (如果不成功,請檢查你是否有這個class 或