Commit 2a57a6d4 authored by zhengke's avatar zhengke

no message

parent 08b7ecdb
......@@ -32,7 +32,7 @@ export let urlTobase64 = (file, suc) => {
* 上传文件
*/
export function UploadSelfFile(path, file, callback, configObj) {
if (file.url.indexOf('.excel') == -1) {
if (file.url.indexOf('.xls') == -1||file.url.indexOf('.xlsx')==-1) {
uni.showToast({
title: '请上传 excel 格式文件',
icon:'none',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment