1、在項目裡面使用了axios.js來發送http請求,在IE下報錯Promise未定義,解決辦法: 到http://bluebirdjs.com/docs/getting-started.html 下載 bluebird.min.js腳本加入頁面,解決Promise未定義的錯誤 2、IE11不支持 ...
1、在項目裡面使用了axios.js來發送http請求,在IE下報錯Promise未定義,解決辦法:
到http://bluebirdjs.com/docs/getting-started.html 下載 bluebird.min.js腳本加入頁面,解決Promise未定義的錯誤
2、IE11不支持ES6的一些寫法:比如=> 等等,解決辦法:
處理了這2個問題,頁面終於在IE11顯示了,BUT還有2個問題等待解決
1、使用了ElementUi的搜索提示框裡面使用了template,結果vue報錯,不知如何解決
<el-col :span="12"> <el-form-item label="代碼" prop="Code"> <el-autocomplete v-model="form.Code" popper-class="my-autocomplete" :fetch-suggestions="peopleSearch" placeholder="請輸入內容" @@select="handlePeopleSelect"> <template slot-scope="{ item }"> <div class="Code">代碼:{{ item.Code }}</div> <div class="Name">姓名:{{ item.Name }}</div> <span class="Year">時間:{{ item.Year }}</span> <hr /> </template> </el-autocomplete> </el-form-item> </el-col>
2、ElementUI的時間控制項選擇後不能賦值到界面上去
<el-date-picker v-model="form.InDate" type="date" placeholder="選擇日期"> </el-date-picker>
IE真是無敵...................
有大佬看到麽,跪求幫忙