|
@@ -158,7 +158,7 @@ export default {
|
|
},
|
|
},
|
|
showDetail(item) {
|
|
showDetail(item) {
|
|
if (item.notesDataIndex > 0) {
|
|
if (item.notesDataIndex > 0) {
|
|
- const route = location.hostname.indexOf("dayaedu.com") ? "/accompany/" : "/accompany-teacher/";
|
|
|
|
|
|
+ const route = location.hostname.indexOf("dayaedu.com") > -1 ? "/accompany/" : "/accompany-teacher/";
|
|
postMessage({
|
|
postMessage({
|
|
api: "openWebView",
|
|
api: "openWebView",
|
|
content: {
|
|
content: {
|