Browse Source

图片请求头改为全局配置

嘀嘀嘀 1 year ago
parent
commit
5f995222b1
3 changed files with 2714 additions and 2712 deletions
  1. 3 1
      src/main.js
  2. 1374 1374
      src/views/selfShop/shopAmend.vue
  3. 1337 1337
      src/views/selfShop/shopPublish.vue

+ 3 - 1
src/main.js

@@ -13,7 +13,9 @@ import '@/assets/styles/fonts.css' //字体样式
 
 
 Vue.prototype.Tupiantou ='https://mxys.chuanghai-tech.com/sqx_fast/alioss/upload'//线上
 Vue.prototype.Tupiantou ='https://mxys.chuanghai-tech.com/sqx_fast/alioss/upload'//线上
 // Vue.prototype.Tupiantou ='https://www.daweilinli.com/sqx_fast/alioss/upload'//线下
 // Vue.prototype.Tupiantou ='https://www.daweilinli.com/sqx_fast/alioss/upload'//线下
-
+Vue.prototype.Tupian =function(img){
+	return 'https://moxuanyunshang.oss-cn-beijing.aliyuncs.com'+img
+}//全局图片请求头
 
 
 import {
 import {
   isAuth
   isAuth

File diff suppressed because it is too large
+ 1374 - 1374
src/views/selfShop/shopAmend.vue


File diff suppressed because it is too large
+ 1337 - 1337
src/views/selfShop/shopPublish.vue