测试:修订间差异

来自「荏苒之境」
创建页面,内容为“<template> <p v-i18n-html="fooOrBarMsg"></p> </template> <script> const { defineComponent } = require( 'vue' ); module.exports = defineComponent( { computed: { fooOrBarMsg: function () { // Note that this returns a Message object, not a string return mw.message( this.foo ? 'foo-msg' : 'bar-msg' ) .params( [ this.baz, this.quux ] ); } } } ); </script>”
 
无编辑摘要
第1行: 第1行:
<template>
{{归档头
    <p v-i18n-html="fooOrBarMsg"></p>
| 归档码 = GLTD-0000-1
</template>
| 权限级 = 4
<script>
| 事件组 = GLTD
const { defineComponent } = require( 'vue' );
}}
module.exports = defineComponent( {
    computed: {
        fooOrBarMsg: function () {
            // Note that this returns a Message object, not a string
            return mw.message( this.foo ? 'foo-msg' : 'bar-msg' )
                .params( [ this.baz, this.quux ] );
        }
    }
} );
</script>

2025年7月30日 (三) 12:07的版本

GLTD-0000-1 / GLTD 事件组

本档案已被「荏苒之境」图书管理庭归档,权限级:4。