u
This commit is contained in:
parent
4a96e6a66f
commit
04e449cce6
@ -13,7 +13,7 @@ export default {
|
|||||||
WHITE_BUTTON: 'default',
|
WHITE_BUTTON: 'default',
|
||||||
|
|
||||||
// [todo] 能否把这些默认值放到 export 以外?
|
// [todo] 能否把这些默认值放到 export 以外?
|
||||||
BASE_TYPE_DEFAULT: 'SERVER', // 服务器 SERVER 或云服务 UNICLOUD
|
BASEND_TYPE_DEFAULT: 'SERVER', // 服务器 SERVER 或云服务 UNICLOUD
|
||||||
|
|
||||||
thisPage () {
|
thisPage () {
|
||||||
return this.__page__
|
return this.__page__
|
||||||
@ -157,7 +157,7 @@ export default {
|
|||||||
* - CLINET_BASEND_EXCEPTION: 前端发现后台异常
|
* - CLINET_BASEND_EXCEPTION: 前端发现后台异常
|
||||||
**/
|
**/
|
||||||
async callBase ({
|
async callBase ({
|
||||||
basendType = this.envar?.Basend_Type_Default || wo?.envar?.Basend_Type_Default || this.BASE_TYPE_DEFAULT,
|
basendType = this.envar?.Basend_Type_Default || wo?.envar?.Basend_Type_Default || this.BASEND_TYPE_DEFAULT,
|
||||||
httpMethod = 'POST',
|
httpMethod = 'POST',
|
||||||
apiVersion = 'api',
|
apiVersion = 'api',
|
||||||
apiWho,
|
apiWho,
|
||||||
@ -368,7 +368,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
async pickupFile ({
|
async pickupFile ({
|
||||||
basendType = this.envar?.Basend_Type_Default || wo?.envar?.Basend_Type_Default || this.BASE_TYPE_DEFAULT,
|
basendType = this.envar?.Basend_Type_Default || wo?.envar?.Basend_Type_Default || this.BASEND_TYPE_DEFAULT,
|
||||||
mediaType = 'image',
|
mediaType = 'image',
|
||||||
count = 1,
|
count = 1,
|
||||||
sizeType = ['original', 'compressed'],
|
sizeType = ['original', 'compressed'],
|
||||||
|
Loading…
Reference in New Issue
Block a user