Commit 471a49fa by xiexiaoqin

Merge branch 'release/dev/2.0.0' into release/2.0.0

parents 1efed8d8 af34f7d9
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
padding: 16rpx; padding: 16rpx;
margin-top: 16rpx; margin-top: 16rpx;
margin-bottom: 1rpx; margin-bottom: 1rpx;
word-break: break-all;
} }
.notes-edit { .notes-edit {
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
border-radius: 8rpx; border-radius: 8rpx;
padding: 16rpx; padding: 16rpx;
margin-top: 16rpx; margin-top: 16rpx;
word-break: break-all;
} }
.notes-edit { .notes-edit {
......
...@@ -183,8 +183,12 @@ create.Page({ ...@@ -183,8 +183,12 @@ create.Page({
}, },
connect_start() { connect_start() {
const userId = dd.getStorageSync({ key: 'mwUserId' }).data;
if (!userId) {
return
}
dd.connectSocket({ dd.connectSocket({
url: `${websocketUrl}/meet-websocket/websocket/${dd.getStorageSync({ key: 'mwUserId' }).data}/${uuid}`, url: `${websocketUrl}/meet-websocket/websocket/${userId}/${uuid}`,
success: (res) => { success: (res) => {
...@@ -301,8 +305,12 @@ create.Page({ ...@@ -301,8 +305,12 @@ create.Page({
dd.closeSocket(); dd.closeSocket();
}, },
refresh() { refresh() {
//重置数据
DateMap = getDateMap(this.minYear, this.maxYear);
this.isNeverShowSchedulePage = true; this.isNeverShowSchedulePage = true;
this.isLoaded = false; this.isLoaded = false;
//定位到今天,防止上面的不生效
this.backToToday('first')
this.onLoad(); this.onLoad();
}, },
getPages(current, callBack) { getPages(current, callBack) {
......
...@@ -59,6 +59,7 @@ page { ...@@ -59,6 +59,7 @@ page {
/* padding: 20rpx 0; */ /* padding: 20rpx 0; */
height: 112rpx; height: 112rpx;
display: flex; display: flex;
/* align-items: center; */
padding-left: 32rpx; padding-left: 32rpx;
} }
...@@ -93,8 +94,8 @@ page { ...@@ -93,8 +94,8 @@ page {
line-height: 24rpx; line-height: 24rpx;
} }
.equipment { .num {
margin-left: 16rpx; margin-right: 16rpx;
} }
.equipment text { .equipment text {
......
...@@ -328,4 +328,6 @@ export function isJSON(str) { ...@@ -328,4 +328,6 @@ export function isJSON(str) {
return false; return false;
} }
export function removeHtml(str) { return str.replace(/<\/?.+?>/g, "") } export function removeHtml(str) {
return str.replace(/<\/?.l>/g, "").replace(/<\/.+?>/g, "\n").replace(/<.+?>/g, "")
}
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