jmash-core-mp 0.1.29 → 0.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -114,7 +114,6 @@ class FileApi {
114
114
  }
115
115
  // 上传文件
116
116
  uploadWebFile(data) {
117
- // data.tenant = data.tenant ? config.tenant;
118
117
  grpc.clearEmpty(data);
119
118
  return mpx.xfetch.fetch({
120
119
  url: "/v1/file/webupload",
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmash-core-mp",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "private": false,
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -139,7 +139,6 @@ class FileApi {
139
139
 
140
140
  // 上传文件
141
141
  uploadWebFile(data: FileWebReq): Promise<ResponseData<FileInfo>> {
142
- // data.tenant = data.tenant ? config.tenant;
143
142
  grpc.clearEmpty(data);
144
143
  return mpx.xfetch.fetch({
145
144
  url: "/v1/file/webupload",
@@ -4,13 +4,13 @@
4
4
  <view class="nav-bar-content"
5
5
  style="color: {{ currentTitleColor }}; height: {{ style.height }}px;padding-top: {{ style.paddingTop }}px;">
6
6
  <!-- 左侧区域 -->
7
- <view class="nav-bar-left" slot="left">
7
+ <view class="nav-bar-left">
8
8
  <view class="left-icon" wx:if="{{ leftIcon }}"
9
9
  bind:tap="{{ leftIcon === 'home' ? 'handleIndex' : 'handleReturn' }}">
10
10
  <cube-icon type="{{ leftIcon === 'home' ? 'home' : 'back' }}" size="30rpx"
11
11
  color="{{ currentTitleColor }}" />
12
12
  </view>
13
- <slot />
13
+ <slot name="left" />
14
14
  </view>
15
15
 
16
16
  <!-- 标题区域 -->