Development tips FAQ

更新时间:
复制 MD 格式

Build tips

How to get Moflow workspace and application IDs

1. Workspace ID: 172075209724044

2. Application ID: 174357535983152

How to configure a list to select the first item by default

image

  1. Define the data_items variable.

  2. [
      {
        "key": "qianwen",
        "name": "Tongyi Qwen",
        "url": "https://tongyi.aliyun.com/qianwen"
      },
      {
        "key": "lingma",
        "name": "Tongyi Lingma",
        "url": "https://tongyi.aliyun.com/lingma"
      },
      {
        "key": "xiaomi",
        "name": "Tongyi Xiaomi",
        "url": "https://tongyi.aliyun.com/xiaomi"
      },
      {
        "key": "xingchen",
        "name": "Tongyi Xingchen",
        "url": "https://xingchen.aliyun.com/xingchen"
      },
      {
        "key": "wanxiang",
        "name": "Tongyi Wanxiang",
        "url": "https://tongyi.aliyun.com/wanxiang"
      },
      {
        "key": "tingwu",
        "name": "Tongyi Tingwu",
        "url": "https://tongyi.aliyun.com/tingwu"
      },
      {
        "key": "zhiwen",
        "name": "Tongyi ZoneWit",
        "url": "https://tongyi.aliyun.com/zhiwen"
      },
      {
        "key": "farui",
        "name": "Tongyi Farui",
        "url": "https://tongyi.aliyun.com/farui"
      }
    ]
  3. {{data_items.value}}
  4. {{data_items.value[0].key}}

Chat jitters on mobile devices for long responses

Set Performance Options to Balance and Scroll Behavior to No Animation.

image

How to switch to the logon page from anonymous logon

  1. Configure user logon and logoff on any page.image

  2. Use the following code.

    mobi.userLogin();
    mobi.userLogout();

How to associate a single-select drop-down list with multiple views

Integration calls succeed during testing but fail after publishing to the production environment

Cause: The configuration for the integration resource in the production environment is incorrect.

Troubleshooting path: Go to Resources > Integration to find your configured resource.

imageimage

screen_recording_2025-04-08_11-41-35