hookehuyr

默认绑定cookie

1 <!-- 1 <!--
2 * @Date: 2022-09-19 14:11:06 2 * @Date: 2022-09-19 14:11:06
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2022-10-22 00:22:28 4 + * @LastEditTime: 2022-10-24 09:47:06
5 * @FilePath: /swx/src/pages/editProject/index.vue 5 * @FilePath: /swx/src/pages/editProject/index.vue
6 * @Description: 新建主办方页面 6 * @Description: 新建主办方页面
7 --> 7 -->
...@@ -268,9 +268,11 @@ const onSave = async () => { ...@@ -268,9 +268,11 @@ const onSave = async () => {
268 268
269 <script> 269 <script>
270 import "./index.less"; 270 import "./index.less";
271 +import mixin from '@/utils/mixin';
271 272
272 export default { 273 export default {
273 name: "createProjectPage", 274 name: "createProjectPage",
275 + mixins: [mixin.init],
274 async onShow () { 276 async onShow () {
275 277
276 } 278 }
......
...@@ -55,9 +55,11 @@ wx.showShareMenu({ ...@@ -55,9 +55,11 @@ wx.showShareMenu({
55 import "./index.less"; 55 import "./index.less";
56 import { activityHomeAPI } from '@/api/Host/index' 56 import { activityHomeAPI } from '@/api/Host/index'
57 import { $ } from '@tarojs/extend' 57 import { $ } from '@tarojs/extend'
58 +import mixin from '@/utils/mixin';
58 59
59 export default { 60 export default {
60 name: "indexPage", 61 name: "indexPage",
62 + mixins: [mixin.init],
61 onReady() { 63 onReady() {
62 if (!Taro.canIUse("getUpdateManager")) { 64 if (!Taro.canIUse("getUpdateManager")) {
63 Taro.showModal({ 65 Taro.showModal({
......